numba_dpex.initialize module
- numba_dpex.initialize.init_jit()
- numba_dpex.initialize.load_dpctl_sycl_interface()
Permanently loads the
DPCTLSyclInterfacelibrary provided by dpctl.The
DPCTLSyclInterfacelibrary 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
DPCTLSyclInterfacelibrary could not be loaded.