Add simple kernel utilizing get_sub_group_id()
Change-Id: I9071b48f9fc53f99b371649a021951785127c925 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
parent
ecc2a6b115
commit
689f6a2047
|
@ -123,3 +123,7 @@ __kernel void simple_kernel_8(__global uint *dst, uint incrementationsCount) {
|
|||
dst[destination]++;
|
||||
}
|
||||
}
|
||||
|
||||
__kernel void simple_kernel_9(__global uint *dst) {
|
||||
dst[get_sub_group_id()]++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue