Skip to content

Commit b895ed8

Browse files
committed
SYCL_QUEUE_THREAD_POOL_SIZE set in env steps
1 parent ed07130 commit b895ed8

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,11 @@ jobs:
171171
conda activate test_dpctl
172172
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
173173
- name: Run tests
174+
env:
175+
SYCL_QUEUE_THREAD_POOL_SIZE: 6
174176
run: |
175177
. $CONDA/etc/profile.d/conda.sh
176178
conda activate test_dpctl
177-
export SYCL_QUEUE_THREAD_POOL_SIZE=6
178179
python -m pytest -v --pyargs $MODULE_NAME
179180
180181
test_windows:
@@ -578,14 +579,15 @@ jobs:
578579
- name: Run array API conformance tests
579580
id: run-array-api-tests
580581
shell: bash -l {0}
582+
env:
583+
SYCL_QUEUE_THREAD_POOL_SIZE: 6
581584
run: |
582585
FILE=/home/runner/work/.report.json
583586
. $CONDA/etc/profile.d/conda.sh
584587
conda activate test_dpctl
585588
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
586589
python -c "import dpctl; dpctl.lsplatform()"
587590
export ARRAY_API_TESTS_MODULE=dpctl.tensor
588-
export SYCL_QUEUE_THREAD_POOL_SIZE=6
589591
cd /home/runner/work/array-api-tests
590592
pytest --ci --json-report --json-report-file=$FILE array_api_tests/ || true
591593
- name: Set Github environment variables

.github/workflows/generate-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
- name: Upload coverage data to coveralls.io
9797
shell: bash -l {0}
9898
run: |
99-
export SYCL_QUEUE_THREAD_POOL_SIZE=6
10099
echo "Processing c-api-coverage"
101100
export DPCTL_LCOV_FN=$(find _skbuild -name dpctl.lcov)
102101
grep "/tmp" $DPCTL_LCOV_FN
@@ -125,6 +124,7 @@ jobs:
125124
env:
126125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
127126
COVERALLS_PARALLEL: true
127+
SYCL_QUEUE_THREAD_POOL_SIZE: 6
128128

129129
coveralls:
130130
name: Indicate completion to coveralls.io

.github/workflows/os-llvm-sycl-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ jobs:
112112
run: |
113113
cat << 'EOF' > set_allvars.sh
114114
#!/usr/bin/bash
115-
export SYCL_QUEUE_THREAD_POOL_SIZE=6
116115
export SYCL_BUNDLE_FOLDER=/home/runner/work/sycl_bundle
117116
source ${SYCL_BUNDLE_FOLDER}/dpcpp_compiler/startup.sh
118117
export LD_LIBRARY_PATH=${SYCL_BUNDLE_FOLDER}/oclcpuexp/x64:${LD_LIBRARY_PATH}
@@ -150,6 +149,8 @@ jobs:
150149
151150
- name: Run dpctl/tests
152151
shell: bash -l {0}
152+
env:
153+
SYCL_QUEUE_THREAD_POOL_SIZE: 6
153154
run: |
154155
source set_allvars.sh
155156
# skip test due to https://github.com/intel/llvm/issues/9264

0 commit comments

Comments
 (0)