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