Skip to content

errors in compute the peak performance in benchark/gemm.c #1474

Closed
@xingjinglu

Description

@xingjinglu

Is here a type error in compute the peak performance of gemm in benchmark/gemm.c

Line 240      

 timeg = time1/loops;
    fprintf(stderr,
      " %10.2f MFlops %10.6f sec\n",
      COMPSIZE * COMPSIZE * 2. * (double)m * (double)m * (double)n / timeg * 1.e-6, time1);

I think here it should be 2. * (double)m * (double)n * (double) k, so one of the 'm' should be k.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions