You've already forked llvm-project
mirror of
https://github.com/AdaCore/llvm-project.git
synced 2026-02-12 13:52:35 -08:00
7 lines
133 B
C
7 lines
133 B
C
#include <gpuintrin.h>
|
|
#include <stdint.h>
|
|
|
|
__gpu_kernel void foo(uint32_t *out) {
|
|
out[__gpu_thread_id(0)] = __gpu_thread_id(0);
|
|
}
|