Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
da5fc53d6b024872c4c1d2c8c5da11e08bf116aa
/
.
/
test
/
CodeGenCUDA
/
kernel-call.cu
blob: f134624eec19837c09fa45c99713940356220453 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
#include
"../SemaCUDA/cuda.h"
__global__
void
g1
(
int
x
)
{}
int
main
(
void
)
{
// CHECK: call{{.*}}cudaConfigureCall
// CHECK: icmp
// CHECK: br
// CHECK: call{{.*}}g1
g1
<<<
1
,
1
>>>(
42
);
}