Files
Ross Brunton 41e22aa31b [Offload] Set size correctly in olLaunchKernel cts test (#142398)
It was previously not scaled by `sizeof(uint32_t)`.
2025-06-02 09:27:09 -05:00

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);
}