diff --git a/sycl/test-e2e/Adapters/level_zero/ze-affinity-mask-invalid.cpp b/sycl/test-e2e/Adapters/level_zero/ze-affinity-mask-invalid.cpp new file mode 100644 index 0000000000000..becf6ca1306d7 --- /dev/null +++ b/sycl/test-e2e/Adapters/level_zero/ze-affinity-mask-invalid.cpp @@ -0,0 +1,6 @@ +// REQUIRES: linux, gpu, level_zero + +// Check that invalid ZE_AFFINITY_MASK values do not crash the loader. + +// RUN: not not --crash %{run-unfiltered-devices} env ZE_AFFINITY_MASK=a sycl-ls +// RUN: not not --crash %{run-unfiltered-devices} env ZE_AFFINITY_MASK= sycl-ls