File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -171,10 +171,11 @@ 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
177
- export SYCL_QUEUE_THREAD_POOL_SIZE=6
178
179
python -m pytest -v --pyargs $MODULE_NAME
179
180
180
181
test_windows :
@@ -578,14 +579,15 @@ jobs:
578
579
- name : Run array API conformance tests
579
580
id : run-array-api-tests
580
581
shell : bash -l {0}
582
+ env :
583
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
581
584
run : |
582
585
FILE=/home/runner/work/.report.json
583
586
. $CONDA/etc/profile.d/conda.sh
584
587
conda activate test_dpctl
585
588
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
586
589
python -c "import dpctl; dpctl.lsplatform()"
587
590
export ARRAY_API_TESTS_MODULE=dpctl.tensor
588
- export SYCL_QUEUE_THREAD_POOL_SIZE=6
589
591
cd /home/runner/work/array-api-tests
590
592
pytest --ci --json-report --json-report-file=$FILE array_api_tests/ || true
591
593
- name : Set Github environment variables
Original file line number Diff line number Diff line change 96
96
- name : Upload coverage data to coveralls.io
97
97
shell : bash -l {0}
98
98
run : |
99
- export SYCL_QUEUE_THREAD_POOL_SIZE=6
100
99
echo "Processing c-api-coverage"
101
100
export DPCTL_LCOV_FN=$(find _skbuild -name dpctl.lcov)
102
101
grep "/tmp" $DPCTL_LCOV_FN
@@ -125,6 +124,7 @@ jobs:
125
124
env :
126
125
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
127
126
COVERALLS_PARALLEL : true
127
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
128
128
129
129
coveralls :
130
130
name : Indicate completion to coveralls.io
Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ jobs:
112
112
run : |
113
113
cat << 'EOF' > set_allvars.sh
114
114
#!/usr/bin/bash
115
- export SYCL_QUEUE_THREAD_POOL_SIZE=6
116
115
export SYCL_BUNDLE_FOLDER=/home/runner/work/sycl_bundle
117
116
source ${SYCL_BUNDLE_FOLDER}/dpcpp_compiler/startup.sh
118
117
export LD_LIBRARY_PATH=${SYCL_BUNDLE_FOLDER}/oclcpuexp/x64:${LD_LIBRARY_PATH}
@@ -150,6 +149,8 @@ jobs:
150
149
151
150
- name : Run dpctl/tests
152
151
shell : bash -l {0}
152
+ env :
153
+ SYCL_QUEUE_THREAD_POOL_SIZE : 6
153
154
run : |
154
155
source set_allvars.sh
155
156
# skip test due to https://github.com/intel/llvm/issues/9264
You can’t perform that action at this time.
0 commit comments