Sign in
cos
/
mirrors
/
github.com
/
llvm
/
llvm-project
/
c97244d387ea6fa846b2fb8a54fa508c88c86da3
/
.
/
offload
/
unittests
/
OffloadAPI
/
device_code
/
bar.cpp
blob: b5191671f293f8df614514ca9d04bcc76a94c921 [
file
]
#include
<gpuintrin.h>
extern
"C"
__gpu_kernel
void
foo
(
int
*
out
)
{
out
[
__gpu_thread_id
(
0
)]
=
__gpu_thread_id
(
0
)
+
1
;
}