Skip to content

Commit f703390

Browse files
author
Diptorup Deb
authored
Merge pull request #1464 from IntelPython/fix/dpnp_mp
Remove versioneer, organize dpnp monkey patch
2 parents b9436c1 + b5dba9c commit f703390

File tree

9 files changed

+114
-785
lines changed

9 files changed

+114
-785
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ _skbuild
2626

2727
docs/source/developer/autogen*
2828

29+
# Ignore versioneer generated files
30+
numba_dpex/_version.py
31+
2932
# Ignore generated cpp files
3033
numba_dpex/dpnp_iface/*.cpp
3134
numba_dpex/dpnp_iface/*.h

numba_dpex/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from numba import __version__ as numba_version
1818

1919
from .kernel_api_impl.spirv import target as spirv_kernel_target
20-
from .numba_patches import patch_is_ufunc
20+
from .numba_patches import patch_ufuncs
2121
from .register_kernel_api_overloads import init_kernel_api_spirv_overloads
2222

2323

@@ -70,7 +70,7 @@ def parse_sem_version(version_string: str) -> Tuple[int, int, int]:
7070
dpctl_sem_version = parse_sem_version(dpctl.__version__)
7171

7272
# Monkey patches
73-
patch_is_ufunc.patch()
73+
patch_ufuncs.patch()
7474

7575
from numba import prange # noqa E402
7676

0 commit comments

Comments
 (0)