Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten-fastcomp-clang
/
f080eaf0eace3bd38fdabb37c64bd0a21caa8961
/
.
/
test
/
CodeGenCUDA
/
kernel-call.cu
blob: 9b849db908f8afe4fed240695a295f69a2d86abe [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
#include
"Inputs/cuda.h"
__global__
void
g1
(
int
x
)
{}
int
main
(
void
)
{
// CHECK: call{{.*}}cudaConfigureCall
// CHECK: icmp
// CHECK: br
// CHECK: call{{.*}}g1
g1
<<<
1
,
1
>>>(
42
);
}