4040 with :
4141 fetch-depth : 0
4242
43- - name : Checkout oneDPL
44- uses : actions/checkout@v3.1.0
45- with :
46- repository : oneapi-src/oneDPL
47- path : oneDPL
48- ref : oneDPL-2021.7.0-release
49-
5043 - name : Setup miniconda
5144 uses : conda-incubator/setup-miniconda@v2.1.1
5245 with :
7669
7770 - name : Build conda package
7871 run : conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
79- env :
80- DPLROOT : ' ${{ github.workspace }}/oneDPL'
8172
8273 - name : Upload artifact
8374 uses : actions/upload-artifact@v3.1.0
@@ -110,13 +101,6 @@ jobs:
110101 with :
111102 fetch-depth : 0
112103
113- - name : Checkout oneDPL
114- uses : actions/checkout@v3.1.0
115- with :
116- repository : oneapi-src/oneDPL
117- path : oneDPL
118- ref : oneDPL-2021.7.0-release
119-
120104 - name : Setup miniconda
121105 uses : conda-incubator/setup-miniconda@v2.1.1
122106 with :
@@ -148,8 +132,6 @@ jobs:
148132
149133 - name : Build conda package
150134 run : conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
151- env :
152- DPLROOT : ' %GITHUB_WORKSPACE%\oneDPL'
153135
154136 - name : Upload artifact
155137 uses : actions/upload-artifact@v3.1.0
@@ -169,7 +151,6 @@ jobs:
169151 strategy :
170152 matrix :
171153 python : ['3.8', '3.9']
172- dpctl : ['0.13.0']
173154 experimental : [false]
174155
175156 continue-on-error : ${{ matrix.experimental }}
@@ -239,7 +220,7 @@ jobs:
239220 ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
240221
241222 - name : Install dpnp
242- run : conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} dpctl=${{ matrix.dpctl }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
223+ run : conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
243224 env :
244225 TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
245226
@@ -248,12 +229,15 @@ jobs:
248229
249230 - name : Smoke test
250231 run : python -c "import dpnp, dpctl; dpctl.lsplatform()"
232+ env :
233+ OCL_ICD_FILENAMES : ' libintelocl.so'
251234
252235 # TODO: run the whole scope once the issues on CPU are resolved
253236 - name : Run tests
254- run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py
237+ run : |
238+ python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_fft.py test_linalg.py test_mathematical.py test_random_state.py test_special.py
255239 env :
256- SYCL_ENABLE_HOST_DEVICE : ' 1 '
240+ OCL_ICD_FILENAMES : ' libintelocl.so '
257241 working-directory : ${{ env.tests-path }}
258242
259243 test_windows :
@@ -268,7 +252,6 @@ jobs:
268252 strategy :
269253 matrix :
270254 python : ['3.8', '3.9']
271- dpctl : ['0.13.0']
272255 experimental : [false]
273256
274257 continue-on-error : ${{ matrix.experimental }}
@@ -342,7 +325,7 @@ jobs:
342325 echo PACKAGE_VERSION: %PACKAGE_VERSION%
343326 (echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV%
344327
345- conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% dpctl=${{ matrix.dpctl }} python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} --only-deps --dry-run > lockfile
328+ conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} --only-deps --dry-run > lockfile
346329 env :
347330 TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
348331
@@ -367,7 +350,7 @@ jobs:
367350 - name : Install dpnp
368351 run : |
369352 @echo on
370- conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} dpctl=${{ matrix.dpctl }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
353+ conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }}
371354 env :
372355 TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
373356
@@ -426,7 +409,8 @@ jobs:
426409
427410 # TODO: run the whole scope once the issues on CPU are resolved
428411 - name : Run tests
429- run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py
412+ run : |
413+ python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_fft.py test_linalg.py test_mathematical.py test_random_state.py test_special.py
430414 working-directory : ${{ env.tests-path }}
431415
432416 upload_linux :
0 commit comments