Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to calculate DPFLOP ? #58

Open
zhongjuzhe opened this issue Sep 5, 2024 · 1 comment
Open

How to calculate DPFLOP ? #58

zhongjuzhe opened this issue Sep 5, 2024 · 1 comment

Comments

@zhongjuzhe
Copy link

In vec-cond2d, we have:
printf("The execution took %d cycles.\n", runtime);
printf("The performance is %ld DPFLOP/1000 cycles.\n",
(uint64_t)(1000.0 * performance));

However, in vec-sgemm_main.c
There is no DPFLOP calculation.

Could you support DPFLOP calculation (equaltion) of all benchmarks ?

Thanks.

@jerryz123
Copy link
Contributor

GEMM is pretty straightforwards, the number of multiply-accumulates is just MxNxK. If you add this, I'd appreciate a PR adding the print statement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants