dpctl.program

Data Parallel Control Program provides a way to create a SYCL kernel from either an OpenCL program represented as a string or a SPIR-V binary file.

Classes

SyclKernel

[FIXME]: <class ‘type’> has a docstring with no summary

SyclProgram

Wraps a sycl::kernel_bundle<sycl::bundle_state::executable> object created using SYCL interoperability layer with underlying backends. Only the OpenCL and Level-Zero backends are currently supported.

Exceptions

SyclProgramCompilationError

This exception is raised when a sycl::kernel_bundle could not be built from either a SPIR-V binary file or a string source.