Sign in
llvm
/
llvm-project
/
refs/heads/users/ojhunt/while-loop-scope
/
.
/
offload
/
unittests
/
OffloadAPI
/
device_code
/
bar.cpp
blob: b5191671f293f8df614514ca9d04bcc76a94c921 [
file
] [
log
] [
blame
] [
edit
]
#include
<gpuintrin.h>
extern
"C"
__gpu_kernel
void
foo
(
int
*
out
)
{
out
[
__gpu_thread_id
(
0
)]
=
__gpu_thread_id
(
0
)
+
1
;
}