-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1077 from IntelPython/release0.21
Release0.21
- Loading branch information
Showing
13 changed files
with
107 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
pytest -q -ra --disable-warnings --pyargs numba_dpex -vv | ||
IF %ERRORLEVEL% NEQ 0 exit /B 1 | ||
set "ONEAPI_DEVICE_SELECTOR=" | ||
|
||
for /F "USEBACKQ tokens=* delims=" %%F in ( | ||
`python -c "import dpctl; print(\"\n\".join([dev.backend.name+\":\"+dev.device_type.name for dev in dpctl.get_devices() if dev.device_type.name in [\"cpu\",\"gpu\"]]))"` | ||
) do ( | ||
set "ONEAPI_DEVICE_SELECTOR=%%F" | ||
|
||
pytest -q -ra --disable-warnings --pyargs numba_dpex -vv | ||
IF %ERRORLEVEL% NEQ 0 exit /B 1 | ||
) | ||
|
||
exit /B 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
#!/bin/bash | ||
|
||
set -euxo pipefail | ||
unset ONEAPI_DEVICE_SELECTOR | ||
|
||
pytest -q -ra --disable-warnings --pyargs numba_dpex -vv | ||
for selector in $(python -c "import dpctl; print(\" \".join([dev.backend.name+\":\"+dev.device_type.name for dev in dpctl.get_devices() if dev.device_type.name in [\"cpu\",\"gpu\"]]))") | ||
do | ||
export "ONEAPI_DEVICE_SELECTOR=$selector" | ||
unset NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1 | ||
|
||
export NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1 | ||
pytest -q -ra --disable-warnings --pyargs numba_dpex -vv | ||
|
||
pytest -q -ra --disable-warnings -vv \ | ||
--pyargs numba_dpex.tests.kernel_tests.test_atomic_op::test_atomic_fp_native | ||
export NUMBA_DPEX_ACTIVATE_ATOMICS_FP_NATIVE=1 | ||
|
||
pytest -q -ra --disable-warnings -vv \ | ||
--pyargs numba_dpex.tests.kernel_tests.test_atomic_op::test_atomic_fp_native | ||
done | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters