@@ -171,6 +171,8 @@ jobs:
171
171
conda activate test_dpctl
172
172
gdb --batch -ex r -ex 'info sharedlibrary' -ex 'set print elements 1000' -ex bt --args ${CONDA_PREFIX}/bin/python -m pytest -q -ra --disable-warnings --pyargs dpctl.tests.test_tensor_elementwise::test_cos_order -vv || true
173
173
- name : Run tests
174
+ env :
175
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
174
176
run : |
175
177
. $CONDA/etc/profile.d/conda.sh
176
178
conda activate test_dpctl
@@ -290,6 +292,7 @@ jobs:
290
292
shell : cmd /C CALL {0}
291
293
env :
292
294
DPCTL_VERBOSITY : error
295
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
293
296
run : >-
294
297
conda activate dpctl_test && python -m pytest -v -s --pyargs ${{ env.MODULE_NAME }}
295
298
@@ -576,6 +579,8 @@ jobs:
576
579
- name : Run array API conformance tests
577
580
id : run-array-api-tests
578
581
shell : bash -l {0}
582
+ env :
583
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
579
584
run : |
580
585
FILE=/home/runner/work/.report.json
581
586
. $CONDA/etc/profile.d/conda.sh
@@ -602,8 +607,8 @@ jobs:
602
607
echo "$MESSAGE" >> $GITHUB_ENV
603
608
echo "EOF" >> $GITHUB_ENV
604
609
else
605
- MESSAGE= "Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
606
- echo "MESSAGE=$MESSAGE" >> $GITHUB_ENV
610
+ echo "Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
611
+ exit 1
607
612
fi
608
613
- name : Post result to PR
609
614
uses : mshick/add-pr-comment@v1
0 commit comments