cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

zhuzxy
Journeyman III

Is it possible to control kernel return an specified value other than CL_SUCESS?

I don't want to read the result from the GPGPU mem, but only want to know if the calculation has reach a point or not in the kernel. Can I control the kernel to return an specified value? Or get an event about the status after the kernel execute finished? Can anyone give me suggestions on it?

0 Likes
1 Reply
rick_weber
Adept II

No. The best you can do is allocate a buffer 4 bytes in size (an unsigned int), and write any error codes to that.

0 Likes