Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove versioneer, organize dpnp monkey patch #1464

Merged
merged 3 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading