cucapra / calyx-resource-eval

Resource Usage Evaluation for Calyx (& its Frontends)
0 stars 0 forks source link

Polybench Summary #6

Open calebmkim opened 1 year ago

calebmkim commented 1 year ago

Summary

30 Benchmarks:

Among the 19 benchmarks that work:

(Edit): Summary of the three categories.

1) Don't Work: correlation, cholesky, gramschmidt, deriche, floyd-warshall, nussinov, adi, heat-3d, jacobi-1d, jacobi-2d, fdtd-2d, 2) Work Island: covariance, symm, syr2k, syrk, trmm, durbing, lu, ludcmp, seidel-2d, trisolv, 3) Work Fully Static: gemm, gemver, gesummv, 2mm, 3mm, atax, bicg, doitgen, mvt,

Table

Design Works? Fully Static?
correlation N (sqrt) n/a
covariance Y N
gemm Y Y
gemver Y Y
gesummv Y Y
symm Y N
syr2k Y N
syrk Y N
trmm Y N
2mm Y Y
3mm Y Y
atax Y Y
bicg Y Y
doitgen Y Y
mvt Y Y
cholesky N (sqrt) n/a
durbin Y N
gramschmidt N (sqrt) n/a
lu Y N
ludcmp Y N
trisolv Y N
deriche N (exp) n/a
floyd-warshall N(annoything arith.select) n/a
nussinov N (annoying things not supported arith.select, scf.if) n/a
adi N (divide by 0 b/c we use int) n/a
fdtd-2d N (computation not interesting, mult by 0.5) n/a
heat-3d N (computation not interesting (multiplies by 0.125 which rounds to 0)) n/a
jacobi-1d N (computation not interesting, mult by 0.33) n/a
jacobi-2d N (computation not interesting, mult by 0.2) n/a
seidel-2d Y N
rachitnigam commented 1 year ago

Awesome, thanks for compiling this list! I think we have a pretty solid story to tell with this set of benchmarks already! Of course, in the future, it would be nice to extend the scf conversion so it can support the other benchmarks as well. I bet the ones that use scf.yield probably also cannot be fully static.

calebmkim commented 1 year ago

Just an update: there were a couple benchmarks that I miscategorized, I've updated the original comment. But this doensn't change anything about the story though.

rachitnigam commented 1 year ago

I've added support for arith.select so we should see if the remaining benchmarks work: https://github.com/llvm/circt/pull/5857