Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Update dpctl library name to be compatible with dpctl 0.5.0rc1 #55

Description

@reazulhoque

The following library name has to be updated - patch below

diff --git a/numba_dppy/initialize.py b/numba_dppy/initialize.py
index c8ba562..c5d0276 100644
--- a/numba_dppy/initialize.py
+++ b/numba_dppy/initialize.py
@@ -10,16 +10,16 @@ def init_jit():
def initialize_all():
from numba.core.registry import dispatcher_registry
- dispatcher_registry.ondemand['dppy'] = init_jit
+ #dispatcher_registry.ondemand['dppy'] = init_jit
import dpctl
import glob
import platform as plt
platform = plt.system()
if platform == 'Windows':
- paths = glob.glob(os.path.join(os.path.dirname(dpctl.__file__), '*DPPLSyclInterface.dll'))
+ paths = glob.glob(os.path.join(os.path.dirname(dpctl.__file__), '*DPCTLSyclInterface.dll'))
else:
- paths = glob.glob(os.path.join(os.path.dirname(dpctl.__file__), '*DPPLSyclInterface*'))
+ paths = glob.glob(os.path.join(os.path.dirname(dpctl.__file__), '*DPCTLSyclInterface*'))
if len(paths) == 1:
ll.load_library_permanently(find_library(paths[0]))

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions