dpctl.program
¶
dpctl.program
provides a way to create a SYCL kernel
from either an OpenCL* program source code represented as a string
or a SPIR-V binary file.
It implements creation of interoperability
sycl::kernel_bundle<sycl::bundle_state_executable>
(a collection of kernels),
as well as creation of individual sycl::kernel
, suitable for submission for
execution via dpctl.SyclQueue.submit()
.
Creates a Sycl interoperability program from an OpenCL source string. |
|
Creates a Sycl interoperability program from an SPIR-V binary. |
Wraps a |
|
This exception is raised when a |