nn-testing/src/test.cl
2023-07-20 22:34:56 +02:00

6 lines
182 B
Common Lisp

__kernel void do_stuff(__global float *input, __global float *output, unsigned int count) {
int i = get_global_id(0);
//printf("Task %d\n", i);
output[i] = input[i] * input[i];
}