Does enqueue_nd_range_kernel() runs asynchronously? (double buffering) #817
Unanswered
Nyanraltotlapun
asked this question in
Q&A
Replies: 1 comment
-
Please look at the OpenCL spec to understand the expected synchronization behavior. Short answer: yes, it doesn't wait for kernel completion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I am trying to do some batched data processing (success), and now looking into implementing double buffer pattern in order to separate kernel execution and data copy operations.
But cannot find info about kernel invocation in pyopencl regardless its synchronization properties.
Is what I am doing is sane?
My simplified code:
I don't see any improvement from single buffer code (not necessary they are exist)
Beta Was this translation helpful? Give feedback.
All reactions