diff options
| author | Joey Gouly <joey.gouly@gmail.com> | 2017-07-31 15:50:27 +0000 |
|---|---|---|
| committer | Joey Gouly <joey.gouly@gmail.com> | 2017-07-31 15:50:27 +0000 |
| commit | 53160cdc45deaa7bb0286442d01c2eb63c770542 (patch) | |
| tree | 97901bf15f5868a485406f1b9d28ab3455f858c8 /clang/test/CodeGenOpenCL/pipe_builtin.cl | |
| parent | d7b1e5af0a8a7ae571eafb63403a5177fa881f62 (diff) | |
| download | bcm5719-llvm-53160cdc45deaa7bb0286442d01c2eb63c770542.tar.gz bcm5719-llvm-53160cdc45deaa7bb0286442d01c2eb63c770542.zip | |
[OpenCL] Enable subgroup extension in tests
This fixes the test, so that it can be run on different hosts that may have
different OpenCL extensions enabled.
llvm-svn: 309571
Diffstat (limited to 'clang/test/CodeGenOpenCL/pipe_builtin.cl')
| -rw-r--r-- | clang/test/CodeGenOpenCL/pipe_builtin.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenOpenCL/pipe_builtin.cl b/clang/test/CodeGenOpenCL/pipe_builtin.cl index 2fdbc3fc42c..4b4b4ef97ab 100644 --- a/clang/test/CodeGenOpenCL/pipe_builtin.cl +++ b/clang/test/CodeGenOpenCL/pipe_builtin.cl @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -emit-llvm -O0 -cl-std=CL2.0 -o - %s | FileCheck %s +// RUN: %clang_cc1 -emit-llvm -cl-ext=+cl_khr_subgroups -O0 -cl-std=CL2.0 -o - %s | FileCheck %s // CHECK: %opencl.pipe_t = type opaque // CHECK: %opencl.reserve_id_t = type opaque |

