Debian Codegraph @

llvm-project/llvm/projects/llvm-spirv/test/event_no_group_cap.cl

raw
1 __kernel void test_fn( const __global char *src)
2 {
3 wait_group_events(0, NULL);
4 }
5 // RUN: %clang_cc1 -triple spir64 -x cl -cl-std=CL2.0 -fdeclare-opencl-builtins -finclude-default-header -O0 -emit-llvm-bc %s -o %t.bc
6 // RUN: llvm-spirv %t.bc -spirv-text -o %t.spt
7 // RUN: FileCheck < %t.spt %s
8 // RUN: llvm-spirv %t.bc -o %t.spv
9 // RUN: spirv-val %t.spv
10
11 // CHECK-NOT:Capability Groups
12 // CHECK:GroupWaitEvents