This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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, Anthony,

    Thanks very much for your help.I have already solved this issue.

    1.the error occur because of the operation failure of one kernel.

    2.In the kernel I decalared an uint variable (linestep).After multipy linestep with an negative value (-1),I get a number which is not -linestep which supposed to be.Then this cause an overflow when access the global memory.

    Best Regards,

    Phenix.

Reply
  • HI, Anthony,

    Thanks very much for your help.I have already solved this issue.

    1.the error occur because of the operation failure of one kernel.

    2.In the kernel I decalared an uint variable (linestep).After multipy linestep with an negative value (-1),I get a number which is not -linestep which supposed to be.Then this cause an overflow when access the global memory.

    Best Regards,

    Phenix.

Children
No data