Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] test for ONEAPI_DEVICE_SELECTOR case sensitivity fix #1579

Merged
merged 2 commits into from
Feb 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions SYCL/OneapiDeviceSelector/case_sensitivity.cpp
Original file line number Diff line number Diff line change
@@ -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