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