From 3026b79442ba73eb0b1f43cd78f61e0b2729f87e Mon Sep 17 00:00:00 2001 From: Chris Perkins Date: Tue, 7 Feb 2023 13:12:01 -0800 Subject: [PATCH 1/2] test for case sensitivity fix --- SYCL/OneapiDeviceSelector/case_sensitivity.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 SYCL/OneapiDeviceSelector/case_sensitivity.cpp diff --git a/SYCL/OneapiDeviceSelector/case_sensitivity.cpp b/SYCL/OneapiDeviceSelector/case_sensitivity.cpp new file mode 100644 index 0000000000..6ccc126bde --- /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 \ No newline at end of file From e1bee13626015f0ad435daf121587df36cbd1540 Mon Sep 17 00:00:00 2001 From: Chris Perkins Date: Wed, 8 Feb 2023 10:10:40 -0800 Subject: [PATCH 2/2] Update SYCL/OneapiDeviceSelector/case_sensitivity.cpp Co-authored-by: Steffen Larsen --- SYCL/OneapiDeviceSelector/case_sensitivity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SYCL/OneapiDeviceSelector/case_sensitivity.cpp b/SYCL/OneapiDeviceSelector/case_sensitivity.cpp index 6ccc126bde..f52a78be5b 100644 --- a/SYCL/OneapiDeviceSelector/case_sensitivity.cpp +++ b/SYCL/OneapiDeviceSelector/case_sensitivity.cpp @@ -5,4 +5,4 @@ // 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 \ No newline at end of file +// RUN: env ONEAPI_DEVICE_SELECTOR="*:gpu" %t.out