Replies: 2 comments
-
Hi @CaoZhongZ,
By default, when you submit some kernel into a queue, SYCL RT will automatically create a In some cases, you might want to adjust the
Yes, this is correct. You can find other interfaces accepting llvm/sycl/include/CL/sycl/handler.hpp Lines 1391 to 1394 in 4f6ae91 To me this seems like a bug in the spec, i.e. missing description of Personally, I think that this syntax looks a bit ugly and confusing. One more downside of it is that |
Beta Was this translation helpful? Give feedback.
-
@AlexeySachkov please contribute to a cleaner approach in the SYCL standard. |
Beta Was this translation helpful? Give feedback.
-
I got an example in SYCL spec.
Could anyone tell me what just happened about above code? What is the signature of the parallel_for?
parallel_for(range r, kernel k, MyKernel (lambda)), I'm I correct?
Beta Was this translation helpful? Give feedback.
All reactions