mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Add isSpecialWorkgroupSizeRequired helper
Change-Id: Ic8d4471f48ed5f25eefa802444d0ea62ac0112da Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-4648
This commit is contained in:
@@ -87,6 +87,8 @@ Vec3<size_t> canonizeWorkgroup(
|
||||
|
||||
void provideLocalWorkGroupSizeHints(Context *context, DispatchInfo dispatchInfo);
|
||||
|
||||
void setSpecialWorkgroupSize(size_t workgroupSize[3]);
|
||||
|
||||
inline cl_uint computeDimensions(const size_t workItems[3]) {
|
||||
return (workItems[2] > 1) ? 3 : (workItems[1] > 1) ? 2 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user