numba_dpex.initialize module

numba_dpex.initialize.init_jit()
numba_dpex.initialize.load_dpctl_sycl_interface()

Permanently loads the DPCTLSyclInterface library provided by dpctl.

The DPCTLSyclInterface library provides C wrappers over SYCL functions that are directly invoked from the LLVM modules generated by numba-dpex. We load the library once at the time of initialization using llvmlite’s load_library_permanently function.

Raises:

ImportError: If the DPCTLSyclInterface library could not be loaded.