40
40
with :
41
41
fetch-depth : 0
42
42
43
- - name : Checkout oneDPL
44
-
45
- with :
46
- repository : oneapi-src/oneDPL
47
- path : oneDPL
48
- ref : oneDPL-2021.7.0-release
49
-
50
43
- name : Setup miniconda
51
44
uses :
conda-incubator/[email protected]
52
45
with :
76
69
77
70
- name : Build conda package
78
71
run : conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
79
- env :
80
- DPLROOT : ' ${{ github.workspace }}/oneDPL'
81
72
82
73
- name : Upload artifact
83
74
@@ -110,13 +101,6 @@ jobs:
110
101
with :
111
102
fetch-depth : 0
112
103
113
- - name : Checkout oneDPL
114
-
115
- with :
116
- repository : oneapi-src/oneDPL
117
- path : oneDPL
118
- ref : oneDPL-2021.7.0-release
119
-
120
104
- name : Setup miniconda
121
105
uses :
conda-incubator/[email protected]
122
106
with :
@@ -148,8 +132,6 @@ jobs:
148
132
149
133
- name : Build conda package
150
134
run : conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
151
- env :
152
- DPLROOT : ' %GITHUB_WORKSPACE%\oneDPL'
153
135
154
136
- name : Upload artifact
155
137
@@ -169,7 +151,6 @@ jobs:
169
151
strategy :
170
152
matrix :
171
153
python : ['3.8', '3.9']
172
- dpctl : ['0.13.0']
173
154
experimental : [false]
174
155
175
156
continue-on-error : ${{ matrix.experimental }}
@@ -239,7 +220,7 @@ jobs:
239
220
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
240
221
241
222
- 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 }}
243
224
env :
244
225
TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
245
226
@@ -248,12 +229,15 @@ jobs:
248
229
249
230
- name : Smoke test
250
231
run : python -c "import dpnp, dpctl; dpctl.lsplatform()"
232
+ env :
233
+ OCL_ICD_FILENAMES : ' libintelocl.so'
251
234
252
235
# TODO: run the whole scope once the issues on CPU are resolved
253
236
- 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
255
239
env :
256
- SYCL_ENABLE_HOST_DEVICE : ' 1 '
240
+ OCL_ICD_FILENAMES : ' libintelocl.so '
257
241
working-directory : ${{ env.tests-path }}
258
242
259
243
test_windows :
@@ -268,7 +252,6 @@ jobs:
268
252
strategy :
269
253
matrix :
270
254
python : ['3.8', '3.9']
271
- dpctl : ['0.13.0']
272
255
experimental : [false]
273
256
274
257
continue-on-error : ${{ matrix.experimental }}
@@ -342,7 +325,7 @@ jobs:
342
325
echo PACKAGE_VERSION: %PACKAGE_VERSION%
343
326
(echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV%
344
327
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
346
329
env :
347
330
TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
348
331
@@ -367,7 +350,7 @@ jobs:
367
350
- name : Install dpnp
368
351
run : |
369
352
@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 }}
371
354
env :
372
355
TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
373
356
@@ -426,7 +409,8 @@ jobs:
426
409
427
410
# TODO: run the whole scope once the issues on CPU are resolved
428
411
- 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
430
414
working-directory : ${{ env.tests-path }}
431
415
432
416
upload_linux :
0 commit comments