3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-12 02:05:54 +00:00

10 lines
200 B
Common Lisp
Raw Normal View History

2022-09-09 19:57:08 +05:00
#define arg_t float16
#define result_t float16
#define int_t int16
__kernel void identity_kernel(__global arg_t *out, const __global arg_t *in)
{
uint gid = get_global_id(0);
out[gid] = in[gid];
}