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

use named op for matmul #69

Merged
merged 1 commit into from
Nov 6, 2023
Merged

use named op for matmul #69

merged 1 commit into from
Nov 6, 2023

Conversation

superlopuh
Copy link
Collaborator

@superlopuh superlopuh commented Nov 4, 2023

Fixes #68

Copy link

github-actions bot commented Nov 4, 2023

kernel size version cycles
relu 16x16xf64 baseline.x 1339
relu 16x16xf64 ssr.x 846
relu 16x16xf64 ssr_frep_unroll.x 334
relu 16x16xf64 snitch_stream.x 322
relu 16x16xf64 linalg.x 1337
relu 16x16xf64 ssr_frep.x 327
dsum 8x16xf32 baseline.x 1202
dsum 8x16xf32 ssr2d.x 273
dsum 8x16xf32 ssr1d_frep1d.x 187
dsum 8x16xf32 scf.x 1227
dsum 8x16xf32 ssr1d.x 253
dsum 8x16xf32 linalg.x 1089
dsum 8x16xf32 noalias.x 1202
matmul 8x8xf64 baseline.x 4230
matmul 8x8xf64 linalg.x 6214

@compor
Copy link
Contributor

compor commented Nov 6, 2023

Why a named op? What was the issue?

@superlopuh
Copy link
Collaborator Author

Kunwar's AlexNet script uses named ops and it feels like the right way to go in general. It also feels like using named ops is a good way to constrain our domain.

@superlopuh superlopuh merged commit 3277f9a into main Nov 6, 2023
2 checks passed
Copy link

github-actions bot commented Nov 6, 2023

kernel size version cycles
relu 16x16xf64 baseline.x 1339
relu 16x16xf64 ssr.x 846
relu 16x16xf64 ssr_frep_unroll.x 334
relu 16x16xf64 snitch_stream.x 322
relu 16x16xf64 linalg.x 1337
relu 16x16xf64 ssr_frep.x 327
dsum 8x16xf32 baseline.x 1202
dsum 8x16xf32 ssr2d.x 273
dsum 8x16xf32 ssr1d_frep1d.x 187
dsum 8x16xf32 scf.x 1227
dsum 8x16xf32 ssr1d.x 253
dsum 8x16xf32 linalg.x 1089
dsum 8x16xf32 noalias.x 1202
matmul 8x8xf64 baseline.x 4230
matmul 8x8xf64 linalg.x 6214

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

Successfully merging this pull request may close these issues.

convert linalg.matmul to named op in test case
3 participants