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

small kernels segfault #46

Open
SerenaC94 opened this issue Apr 11, 2022 · 0 comments
Open

small kernels segfault #46

SerenaC94 opened this issue Apr 11, 2022 · 0 comments

Comments

@SerenaC94
Copy link

I have a couple of very small polybench kernels that cause scaleHLS to crash with the following error:

scalehls-opt: scalehls/polygeist/llvm-project/mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp:464: mlir::LogicalResult performPreTilingChecks(MutableArrayRef<mlir::AffineForOp>, ArrayRef<t>) [t = unsigned int]: Assertion `input.size() == tileSizes.size() && "Too few/many tile sizes"' failed.
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: scalehls-opt test_symm.mlir -debug-only=scalehls "-scalehls-dse-pipeline=top-func=test_symm target-spec=scalehls/samples/polybench/config.json" 

Is there a lower limit to the size of kernels that can be handled? These were symm 2x2 and trmm 2x2, but I have other 2x2 kernels that work fine.

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

1 participant