mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Change implementation of simple_kernel_9.
Change-Id: I22686ac1f17b5b01d991e16c7e690a2fb109088f Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
@@ -125,5 +125,6 @@ __kernel void simple_kernel_8(__global uint *dst, uint incrementationsCount) {
|
||||
}
|
||||
|
||||
__kernel void simple_kernel_9(__global uint *dst) {
|
||||
dst[get_sub_group_id()]++;
|
||||
uint offset = get_max_sub_group_size() * get_sub_group_id();
|
||||
dst[get_sub_group_local_id() + offset] = get_local_id(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user