ROCm: ROCm OpenCL: kernel hangs with read_imageui() call
So, having some difficulties getting my kernels to run.
My program flow works like this:
- map an opencl image, and create map completion event
MAP_COMPLETION_EVENT - also unmap the same image, but the unmap call waits on user event
USER_EVENT, and creates an unmap completion eventUNMAP_COMPLETION_EVENT - when I receive the
MAP_COMPLETION_EVENTevent, copy data to mapped pointer and then setUSER_EVENT - this will trigger the actual unmap, which will then set
UNMAP_COMPLETION_EVENT - the kernel that uses the above image is enqueued but waits for
UNMAP_COMPLETION_EVENT
I verified that I get as far as step 4 (the image is indeed unmapped and sends the event) but the kernel never actually runs.
What is best way of trouble shooting this ?
Also, I do enqueue a large number of kernels, but they will not run until they get their UNMAP_COMPLETION_EVENT events.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 51
We we be releasing 1.6.1 which will have an OpenCL runtime update. Note images are still being worked on we have not Shipped our final 1.0 release yet for OpenCL on ROCm
Hurray!!! Finally fixed in 1.6.4 release. Thank you!!!