Update kernel source.

Change-Id: I2985f35eefc799d9c322ebd96dd1ace4ef9aee72
This commit is contained in:
Mrozek, Michal
2018-11-29 15:01:19 +01:00
parent 323f765659
commit 8fdb79819e

View File

@@ -47,6 +47,9 @@ __kernel void simple_kernel_4() {
__kernel void simple_kernel_5(__global uint *dst) {
atomic_inc(dst);
uint groupIdX = get_group_id(0);
__global uint* groupCounters = dst+1;
atomic_inc(&groupCounters[groupIdX]);
}
#define SIMPLE_KERNEL_6_ARRAY_SIZE 256