diff --git a/SYCL/OneapiDeviceSelector/case_sensitivity.cpp b/SYCL/OneapiDeviceSelector/case_sensitivity.cpp new file mode 100644 index 0000000000..f52a78be5b --- /dev/null +++ b/SYCL/OneapiDeviceSelector/case_sensitivity.cpp @@ -0,0 +1,8 @@ + +// does not actually require OpenCL or GPU. Just testing parsing. + +// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %S/Inputs/trivial.cpp -o %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR="OPENCL:*" %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR="opencl:*" %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR="*:GPU" %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR="*:gpu" %t.out