Skip to content

Commit

Permalink
Merge pull request #1464 from IntelPython/fix/dpnp_mp
Browse files Browse the repository at this point in the history
Remove versioneer, organize dpnp monkey patch
  • Loading branch information
Diptorup Deb authored May 24, 2024
2 parents b9436c1 + b5dba9c commit f703390
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 785 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ _skbuild

docs/source/developer/autogen*

# Ignore versioneer generated files
numba_dpex/_version.py

# Ignore generated cpp files
numba_dpex/dpnp_iface/*.cpp
numba_dpex/dpnp_iface/*.h
Expand Down
4 changes: 2 additions & 2 deletions numba_dpex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from numba import __version__ as numba_version

from .kernel_api_impl.spirv import target as spirv_kernel_target
from .numba_patches import patch_is_ufunc
from .numba_patches import patch_ufuncs
from .register_kernel_api_overloads import init_kernel_api_spirv_overloads


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

# Monkey patches
patch_is_ufunc.patch()
patch_ufuncs.patch()

from numba import prange # noqa E402

Expand Down
Loading

0 comments on commit f703390

Please sign in to comment.