Skip to content

Commit 57190e9

Browse files
author
Diptorup Deb
authored
Merge pull request #1298 from IntelPython/remove/vectorize
Removed the incomplete vectorize decorator from numba-dpex
2 parents 8fdfc1b + af4031c commit 57190e9

File tree

6 files changed

+1
-344
lines changed

6 files changed

+1
-344
lines changed

.github/workflows/conda-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
shell: bash -l {0}
226226
run: |
227227
cd ${{ env.EXAMPLES_PATH }}
228-
for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "vectorize.py" -not -name "scan.py" -and -name "*.py" \))
228+
for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "scan.py" -and -name "*.py" \))
229229
do
230230
echo "Executing ${script}"
231231
python ${script} || exit 1

numba_dpex/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
import dpctl
1616
import llvmlite.binding as ll
1717
from numba import __version__ as numba_version
18-
from numba.np.ufunc.decorators import Vectorize
1918

2019
from numba_dpex.core.kernel_interface.launcher import call_kernel
21-
from numba_dpex.vectorizers import Vectorize as DpexVectorize
2220

2321
from .numba_patches import patch_arrayexpr_tree_to_ir, patch_is_ufunc
2422

@@ -135,8 +133,6 @@ def parse_sem_version(version_string: str) -> Tuple[int, int, int]:
135133
del load_dpctl_sycl_interface
136134

137135

138-
Vectorize.target_registry.ondemand["dpex"] = lambda: DpexVectorize
139-
140136
from numba_dpex._version import get_versions # noqa E402
141137

142138
__version__ = get_versions()["version"]

numba_dpex/examples/vectorize.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

numba_dpex/tests/test_vectorize.py

Lines changed: 0 additions & 65 deletions
This file was deleted.

numba_dpex/vectorizers.py

Lines changed: 0 additions & 207 deletions
This file was deleted.

scripts/run_examples.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ run_checks() {
2525
check numba_dpex/examples/sum_reduction.py
2626
check numba_dpex/examples/sum_reduction_recursive_ocl.py
2727
# check numba_dpex/examples/usm_ndarray.py # See https://github.com/IntelPython/numba-dpex/issues/436
28-
check numba_dpex/examples/vectorize.py
2928

3029
check numba_dpex/examples/auto_offload_examples/sum-1d.py
3130
check numba_dpex/examples/auto_offload_examples/sum-2d.py

0 commit comments

Comments
 (0)