Go to the documentation of this file.
8 static const char source_fill[] = R
"(
11 __kernel void fill_zero(__global TYPE* values,
13 const uint gid = get_global_id(0);
14 const uint gstride = get_global_size(0);
17 for (uint i = gid; i < n; i += gstride) {
22 __kernel void fill_value(__global TYPE* values,
25 const uint gid = get_global_id(0);
26 const uint gstride = get_global_size(0);
28 for (uint i = gid; i < n; i += gstride) {