☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
offload
/
unittests
/
OffloadAPI
/
device_code
/
bar.cpp
☽
☼
offload/unittests/OffloadAPI/device_code/bar.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
#include <gpuintrin.h>
2
3
extern "C" __gpu_kernel void foo(int *out) {
4
out[__gpu_thread_id(0)] = __gpu_thread_id(0) + 1;
5
}