-
Notifications
You must be signed in to change notification settings - Fork 224
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
ConvAsmImplicitGemmGTCDynamicWrwXdlops: "FAILED ... oclkernel.hpp:109: Error setting argument #19 to kernel" #1012
Comments
Example log at level 6
|
Most likely, the reason is OCL-incompatible metadata in igemm_wrw_gtc_gfx908.s. |
Well, not only this. The library passes more arguments (19) than kernels want to read (18). @carlushuang @shaojiewang You can take https://github.com/ROCmSoftwarePlatform/MIOpen/tree/fix-issue-1012-atamazov as a basis (it fixes constness of buffers) and add fix for argument 19. I think that the simplest solution could be fixing the Invoker. |
Since we are passing more arguments than necessary, we run into UB (undefined behavior) with HIP runtime. Which means that even if it works right now, it still may fail at any given moment. |
/cc @junliume |
This issue is actually not OpenCL backend-specific (see #1012 (comment)). But only OpenCL backend is able to catch this BTW. /fyi @junliume @JehandadKhan |
Found during triaging of https://ontrack-internal.amd.com/browse/SWDEV-292684.
MIOPEN_DEBUG_IMPLICIT_GEMM_FIND_ALL_SOLUTIONS=1 MIOPEN_FIND_MODE=normal
Symptom: exception is thrown
Some known failing configs
The text was updated successfully, but these errors were encountered: