Learning OpenCl Event Processing

In my last question, cleaning up OpenCl calls segfault. , someone hinted that the processing of missing events, i.e. not waiting for code to complete can cause seg to crash. Since then, I looked again at the tutorials that I used, but they do not pay attention to events ( Matrix Multiplication 1 (OpenCL) and NVIDIA_OpenCL_GettingStartedLinux.pdf) or talk about it in detail and (for me) is understandable.

Do you know a tutorial on where and how to waitOpenCL?

Merci!

+3
source share
1 answer

I don't have an event tutorial in OpenCL, and I'm by no means an expert, but since no one is responding ...

, clEnqueue*. . , , - clFinish(). .

, clEnqueue* cl_event, . clGetEventInfo(), clWaitForEvents().

+6

Source: https://habr.com/ru/post/1765267/


All Articles