Skip to content

Commit

Permalink
Merge pull request IntelPython#1298 from IntelPython/remove/vectorize
Browse files Browse the repository at this point in the history
Removed the incomplete vectorize decorator from numba-dpex
  • Loading branch information
Diptorup Deb authored Jan 29, 2024
2 parents 8fdfc1b + af4031c commit 57190e9
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 344 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
shell: bash -l {0}
run: |
cd ${{ env.EXAMPLES_PATH }}
for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "vectorize.py" -not -name "scan.py" -and -name "*.py" \))
for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "scan.py" -and -name "*.py" \))
do
echo "Executing ${script}"
python ${script} || exit 1
Expand Down
4 changes: 0 additions & 4 deletions numba_dpex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@
import dpctl
import llvmlite.binding as ll
from numba import __version__ as numba_version
from numba.np.ufunc.decorators import Vectorize

from numba_dpex.core.kernel_interface.launcher import call_kernel
from numba_dpex.vectorizers import Vectorize as DpexVectorize

from .numba_patches import patch_arrayexpr_tree_to_ir, patch_is_ufunc

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


Vectorize.target_registry.ondemand["dpex"] = lambda: DpexVectorize

from numba_dpex._version import get_versions # noqa E402

__version__ = get_versions()["version"]
Expand Down
66 changes: 0 additions & 66 deletions numba_dpex/examples/vectorize.py

This file was deleted.

65 changes: 0 additions & 65 deletions numba_dpex/tests/test_vectorize.py

This file was deleted.

207 changes: 0 additions & 207 deletions numba_dpex/vectorizers.py

This file was deleted.

1 change: 0 additions & 1 deletion scripts/run_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ run_checks() {
check numba_dpex/examples/sum_reduction.py
check numba_dpex/examples/sum_reduction_recursive_ocl.py
# check numba_dpex/examples/usm_ndarray.py # See https://github.com/IntelPython/numba-dpex/issues/436
check numba_dpex/examples/vectorize.py

check numba_dpex/examples/auto_offload_examples/sum-1d.py
check numba_dpex/examples/auto_offload_examples/sum-2d.py
Expand Down

0 comments on commit 57190e9

Please sign in to comment.