Skip to content

Use SYCL_CACHE_PERSISTENT=1 to cache jitted kernels to disk #1487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
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
- name: Run tests
env:
SYCL_QUEUE_THREAD_POOL_SIZE: 6
SYCL_CACHE_PERSISTENT: 1
run: |
. $CONDA/etc/profile.d/conda.sh
conda activate test_dpctl
Expand Down Expand Up @@ -311,8 +311,7 @@ jobs:
- name: Run tests
shell: cmd /C CALL {0}
env:
DPCTL_VERBOSITY: error
SYCL_QUEUE_THREAD_POOL_SIZE: 6
SYCL_CACHE_PERSISTENT: 1
run: >-
conda activate dpctl_test && python -m pytest -v -s --pyargs ${{ env.MODULE_NAME }}

Expand Down Expand Up @@ -630,7 +629,7 @@ jobs:
id: run-array-api-tests
shell: bash -l {0}
env:
SYCL_QUEUE_THREAD_POOL_SIZE: 6
SYCL_CACHE_PERSISTENT: 1
run: |
FILE=/home/runner/work/.report.json
. $CONDA/etc/profile.d/conda.sh
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generate-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:

- name: Build dpctl with coverage
shell: bash -l {0}
env:
SYCL_CACHE_PERSISTENT: 1
run: |
source /opt/intel/oneapi/setvars.sh
python scripts/gen_coverage.py --verbose
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/os-llvm-sycl-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ jobs:
- name: Run dpctl/tests
shell: bash -l {0}
env:
SYCL_QUEUE_THREAD_POOL_SIZE: 6
SYCL_CACHE_PERSISTENT: 1
run: |
source set_allvars.sh
# skip test due to https://github.com/intel/llvm/issues/9264
python -m pytest -v dpctl/tests -k "not test_event_backend"
python -m pytest -v dpctl/tests