Replies: 1 comment 1 reply
-
If those are OpenCL kernels, then you should use interop API. If you somehow obtained DPC++ SPIR-V module, then you can't run kernels from it, because SPIR-V modules are not self-contained. You need integration header and image descriptor, and even then there's no public API, as the whole idea of running independent kernels conflicts with the single-source model of SYCL. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a pre-generated SPIR-V module, which contains a set of kernels in it. Now I want to load the module, extract kernels from it and launch kernels by using DPC++. Is there any way to do that?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions