-
Notifications
You must be signed in to change notification settings - Fork 576
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
[LLVMGPU][ROCm] Isel error for %llvm.amdgcn.wmma.f16.16x16x16.f16
for GFX1100.
#18060
Comments
Here is a reduced repro for anyone interested with the following minimal_repro.mlir
compilation fails with
|
The IR we are making seems reasonable to me, I have opened an upstream llvm issue |
I have a lead in that this intrinsic is only allowed when we have |
Yeah, I mentioned it in #17807. but at the same time I have tried changing the preference to wavefront64. But there's sharedmemory out of bound error occur. |
What happened?
Using sdxl-script compile for
sdxl-scripts/fp16-model/base_ir/stable_diffusion_xl_base_1_0_64_fp16_prompt_encoder.mlir
. Configure theiree-compile
withThe rocdl dialect operation can be observed in
--mlir-print-ir-before="iree-util-fuse-globals"
dump outputsWhile the HAL codegen process, the LLVM pass crash
There seems
llvm.amdgcn.wmma.f16.16x16x16.f16.v8f16.v16f16
instruction in--print-isel-input
output dumpThere's no issue when the param is
--iree-rocm-target-chip=gfx940
Steps to reproduce your issue
Running compile-clip.sh with the params above.
What component(s) does this issue relate to?
MLIR, Compiler
Version information
IREE (https://iree.dev):
IREE compiler version (#17985)
LLVM version 19.0.0git
Optimized build
Additional context
No response
The text was updated successfully, but these errors were encountered: