| skipped 6 lines |
7 | 7 | | |
8 | 8 | | typedef unsigned char uchar |
9 | 9 | | |
10 | | - | __kernel void jelly_xor(__global uchar *input, __local uchar *local_result |
| 10 | + | __kernel void jelly_xor(__global uchar *input, __local uchar *local_result, |
11 | 11 | | __global uchar *group_result){ |
| 12 | + | uchar *in = input[g_id]; |
| 13 | + | local_result[l_id] = in; |
| 14 | + | barrier(CLK_LOCAL_MEM_FENCE); // just to be safe |
| 15 | + | |
12 | 16 | | int i; |
13 | 17 | | uchar **string; |
14 | 18 | | |
| skipped 9 lines |