Skip to content

Commit e68bd14

Browse files
Make sure that testing is done with host device enabled
1 parent eb44ece commit e68bd14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ jobs:
151151
run: |
152152
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
153153
export OCL_ICD_FILENAMES=libintelocl.so
154+
export SYCL_ENABLE_HOST_DEVICE=1
154155
# clinfo -l
155156
python -m pytest --pyargs $MODULE_NAME
156157
@@ -208,7 +209,9 @@ jobs:
208209
- name: Add library
209210
run: echo "OCL_ICD_FILENAMES=C:\Miniconda\Library\lib\intelocl64.dll" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
210211
- name: Run tests
211-
run: python -m pytest --pyargs ${{ env.MODULE_NAME }}
212+
run: |
213+
set SYCL_ENABLE_HOST_DEVICE=1
214+
python -m pytest --pyargs ${{ env.MODULE_NAME }}
212215
213216
upload_linux:
214217
needs: test_linux

0 commit comments

Comments
 (0)