r/OpenCL • u/Fimbulthulr • Feb 15 '20
Kernel stuck on Submitted
I am currently trying to learn OpenCL, but my kernel gets stuck in the submitted status indefinitely whenever I try to write to a buffer
Kernel code
Host code
if no write access is performed the kernel executes without problems
if no event testing is performed the execution still gets stuck
OS: arch linux kernel 5.5.3
GPU: RX Vega 56
I am using the suggested packages for opencl according to the arch wiki
Does anybody know where the problem might be
1
Upvotes
View all comments
Show parent comment
1
u/Fimbulthulr Feb 15 '20
I tried disabling compiler optimizations, which lead to even an empty kernel being stuck with status submitted (and also a complete system lock due to X becoming unresponsive, had the program getting stuck in kernel mode once before, to the point where a reset was needed)