mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
More cleanup of Level Zero core API
Change-Id: Iad2118683efb4f5029503a8fec20d88b37d22e07 Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
@@ -235,6 +235,7 @@ ze_result_t KernelImp::setGroupSize(uint32_t groupSizeX, uint32_t groupSizeY,
|
||||
auto itemsInGroup = Math::computeTotalElementsCount(groupSize);
|
||||
|
||||
if (itemsInGroup > module->getMaxGroupSize()) {
|
||||
DEBUG_BREAK_IF(true);
|
||||
return ZE_RESULT_ERROR_UNKNOWN;
|
||||
}
|
||||
auto grfSize = kernelImmData->getDescriptor().kernelAttributes.grfSize;
|
||||
|
||||
Reference in New Issue
Block a user