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

Removed the incomplete vectorize decorator from numba-dpex #1298

Merged
merged 1 commit into from
Jan 29, 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
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
Loading