why it apperars an CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST error when read buffer from gpu back to host memory?

Hi,

I create an read_write buffer on device. After computing the CL kernel  I'm ready to read is back to the host, but it appears an CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST error. The documents online says:

if the read and write operations are blocking and the execution status of any of the events in event_wait_list is a negative integer value.

But the event_wait_list I pass into is null and the number of event is zero. This help nothing. It runs no error in any other gpu but mali (mali-T760). What the reason cause this?

Best wishes,

phenix

Parents
  • Hi Phenix,

    CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST means that one of the jobs in the queue failed. It's not necessarily related to the read or write operation.

    Most of the time the error comes from a read or write out of bound. (Usually you can find whether it's a read or write error by checking the kernel messages in "dmesg").


    If you have several kernels in the queue I would recommend removing them all and adding them back one by one to find which one causes the error.


    Hope this helps,

Reply
  • Hi Phenix,

    CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST means that one of the jobs in the queue failed. It's not necessarily related to the read or write operation.

    Most of the time the error comes from a read or write out of bound. (Usually you can find whether it's a read or write error by checking the kernel messages in "dmesg").


    If you have several kernels in the queue I would recommend removing them all and adding them back one by one to find which one causes the error.


    Hope this helps,

Children
More questions in this forum