From c42a1856dc985b6706e42c8233f1bffb0f3a2019 Mon Sep 17 00:00:00 2001 From: Kris Rowe Date: Wed, 22 Nov 2023 15:26:02 -0600 Subject: [PATCH] Hotfix GitHub Actions The environment variable `SYCL_DEVICE_FILTER` used by the oneAPI SDK is deprecated, causing some tests to fail. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 089698862..911cf67ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -178,7 +178,7 @@ jobs: OCCA_DPCPP_COMPILER: icpx run: | source /opt/intel/oneapi/setvars.sh - export SYCL_DEVICE_FILTER=opencl.cpu + export ONEAPI_DEVICE_SELECTOR=*:cpu ctest --test-dir build --progress --output-on-failure --parallel 8 --schedule-random -E "examples_cpp_arrays-opencl|examples_cpp_for_loops-opencl|examples_cpp_generic_inline_kernel-opencl|examples_cpp_shared_memory-opencl|examples_cpp_nonblocking_streams-opencl|examples_cpp_for_loops-dpcpp|examples_cpp_arrays-dpcpp|examples_cpp_nonblocking_streams-dpcpp" - name: Upload code coverage