Sign in
llvm
/
llvm-project
/
0110168f6aa5c8a8d02ffd9e62c7929ce6d24d26
/
.
/
offload
/
unittests
/
OffloadAPI
/
device_code
/
bar.c
blob: 786aa2f5d61e7c4dd0ee61b2f4e77ced1629e283 [
file
]
#include
<gpuintrin.h>
__gpu_kernel
void
foo
(
int
*
out
)
{
out
[
__gpu_thread_id
(
0
)]
=
__gpu_thread_id
(
0
)
+
1
;
}