mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
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:
committed by
sys_ocldev
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()]++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user