File tree 2 files changed +6
-37
lines changed
2 files changed +6
-37
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: %clang_cc1 -std=c++11 -I %S/Inputs -fsycl-is-device -ast-dump %s | FileCheck %s
1
2
// RUN: %clang -I %S/Inputs --sycl -Xclang -fsycl-int-header=%t.h %s -c -o kernel.spv
2
- // RUN: FileCheck -input-file=%t.h %s
3
+ // RUN: FileCheck -input-file=%t.h %s --check-prefix=INT-HEADER
3
4
4
- // CHECK :{ kernel_param_kind_t::kind_pointer, 8, 0 },
5
- // CHECK :{ kernel_param_kind_t::kind_pointer, 8, 8 },
5
+ // INT-HEADER :{ kernel_param_kind_t::kind_pointer, 8, 0 },
6
+ // INT-HEADER :{ kernel_param_kind_t::kind_pointer, 8, 8 },
6
7
7
- // ==------------------- usm-params .cpp - USM kernel param aspace test -- -----==//
8
+ // ==--usm-int-header .cpp - USM kernel param aspace and int header test -----==//
8
9
//
9
10
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
10
11
// See https://llvm.org/LICENSE.txt for license information.
@@ -30,4 +31,4 @@ int main() {
30
31
});
31
32
}
32
33
33
-
34
+ // CHECK: FunctionDecl {{.*}}usm_test 'void (__global int *, __global float *)'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments