repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
Interpreter
/
CUDA
/
sanity.cu
blob
ef9d68df464dd58168ebbea7f838ec51c9dfdb14
1
// RUN: cat %s | clang-repl --cuda | FileCheck %s
2
3
extern "C" int printf(const char*, ...);
4
5
__global__ void test_func() {}
6
7
test_func<<<1,1>>>();
8
printf("CUDA Error: %d", cudaGetLastError());
9
// CHECK: CUDA Error: 0
10
11
%quit