cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Ono-Sendai
Journeyman III

Profiling seems to be broken on RX480

Profiling using cl events seems to be broken.

I'm creating a cl_event profile event with profile_event

clEnqueueNDRangeKernel

Then calling clWaitForEvents:

clWaitForEvents(1, &profile_event);

clWaitForEvents however returns CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST.

I am making sure to construct the command queue with the CL_QUEUE_PROFILING_ENABLE property.

As noted, this happens on my RX480.  It works fine on a CPU device, the code also works fine on Nvidia devices.  It also used to work on (earlier) AMD GPU devices.

Thanks,

   Nick C.

0 Likes
1 Reply
dipak
Big Boss

Hi Nick,

Could you please provide a reproducible test-case (host + kernel) that manifest the problem?  Please also share other setup details such as OS, driver version etc.?

Btw, may I know why you think that the issue is related to profiling only? Is it only occurring if profiling is enabled?

Regards,

0 Likes