Go to the documentation of this file.
8 static const char source_vector_eadd[] = R
"(
11 __kernel void dense_to_dense(__global TYPE* g_rx,
12 __global const TYPE* g_ux,
13 __global const TYPE* g_vx,
15 const uint gid = get_global_id(0);
16 const uint gsize = get_global_size(0);
18 for (uint i = gid; i < n; i += gsize) {
19 g_rx[i] = OP_BINARY(g_ux[i], g_vx[i]);