Skip to content

Commit 0a2a711

Browse files
Merge pull request #1487 from IntelPython/cache-jitted-kernels
Use SYCL_CACHE_PERSISTENT=1 to cache jitted kernels to disk
2 parents cc693a4 + 69e62a1 commit 0a2a711

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
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.elementwise.test_trigonometric::test_trig_order -vv || true
194194
- name: Run tests
195195
env:
196-
SYCL_QUEUE_THREAD_POOL_SIZE: 6
196+
SYCL_CACHE_PERSISTENT: 1
197197
run: |
198198
. $CONDA/etc/profile.d/conda.sh
199199
conda activate test_dpctl
@@ -311,8 +311,7 @@ jobs:
311311
- name: Run tests
312312
shell: cmd /C CALL {0}
313313
env:
314-
DPCTL_VERBOSITY: error
315-
SYCL_QUEUE_THREAD_POOL_SIZE: 6
314+
SYCL_CACHE_PERSISTENT: 1
316315
run: >-
317316
conda activate dpctl_test && python -m pytest -v -s --pyargs ${{ env.MODULE_NAME }}
318317
@@ -630,7 +629,7 @@ jobs:
630629
id: run-array-api-tests
631630
shell: bash -l {0}
632631
env:
633-
SYCL_QUEUE_THREAD_POOL_SIZE: 6
632+
SYCL_CACHE_PERSISTENT: 1
634633
run: |
635634
FILE=/home/runner/work/.report.json
636635
. $CONDA/etc/profile.d/conda.sh

.github/workflows/generate-coverage.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
9393
- name: Build dpctl with coverage
9494
shell: bash -l {0}
95+
env:
96+
SYCL_CACHE_PERSISTENT: 1
9597
run: |
9698
source /opt/intel/oneapi/setvars.sh
9799
python scripts/gen_coverage.py --verbose

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,7 @@ jobs:
159159
- name: Run dpctl/tests
160160
shell: bash -l {0}
161161
env:
162-
SYCL_QUEUE_THREAD_POOL_SIZE: 6
162+
SYCL_CACHE_PERSISTENT: 1
163163
run: |
164164
source set_allvars.sh
165-
# skip test due to https://github.com/intel/llvm/issues/9264
166-
python -m pytest -v dpctl/tests -k "not test_event_backend"
165+
python -m pytest -v dpctl/tests

0 commit comments

Comments
 (0)