File tree Expand file tree Collapse file tree 2 files changed +6
-37
lines changed Expand file tree Collapse file tree 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
12// 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
34
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 },
67
7- // ==------------------- usm-params .cpp - USM kernel param aspace test -- -----==//
8+ // ==--usm-int-header .cpp - USM kernel param aspace and int header test -----==//
89//
910// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
1011// See https://llvm.org/LICENSE.txt for license information.
@@ -30,4 +31,4 @@ int main() {
3031 });
3132}
3233
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