buddy-compiler / buddy-benchmark

Benchmark Framework for Buddy Projects
Apache License 2.0
44 stars 34 forks source link

[OpOptimization] Add BatchMatMul benchmark and [OpOptimization] Further optimize BatchMatMulBroadcast and add OpenMP tests #73

Open EllisLambda opened 11 months ago

EllisLambda commented 11 months ago

The explanation of the further optimize:

https://github.com/EllisLambda/buddy-benchmark/commit/d8888a42e21f506809c4b4bcfdf0a07955aff8b9#r126890428

xlinsist commented 11 months ago

Note: The file "BatchMatMulBroadcast.mlir" can be generated from "BatchMatMul.mlir" using --batchmatmul-optimize pass developed in https://github.com/buddy-compiler/buddy-mlir/pull/187.

xlinsist commented 11 months ago

This PR can be merged once these issues mentioned above are fixed. @EllisLambda

xlinsist commented 10 months ago

@EllisLambda Please also make changes based on the suggestions mentioned above.

EllisLambda commented 10 months ago

@EllisLambda Please also make changes based on the suggestions mentioned above.

@xlinsist Problems have been fixed.

EllisLambda commented 10 months ago

@xlinsist New commit have been pushed.

xlinsist commented 10 months ago

It seems that we have to carefully support lld and openmp. I will test this PR tomorrow.