dpctl.compiler.compile¶
- dpctl.compiler.compile(kernel_bundle, devices=None)¶
Compiles a kernel bundle in
inputstate toobjectstate.- Parameters:
kernel_bundle (dpctl.compiler.SyclKernelBundle) – Kernel bundle in
inputstate.devices (Sequence[dpctl.SyclDevice], optional) – Devices to compile for. Default:
None, meaning the devices of the kernel bundle.
- Returns:
The kernel bundle in
objectstate.- Return type:
- Raises:
SyclKernelBundleCompilationError – If the kernel bundle could not be compiled.