mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Revert "Use cached group sizes in zeKernelSetGroupSize"
This reverts commit 7ec94c6aaa.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d793f37dd8
commit
2e2abf1b6e
@@ -271,12 +271,6 @@ ze_result_t KernelImp::setGroupSize(uint32_t groupSizeX, uint32_t groupSizeY,
|
||||
return ZE_RESULT_ERROR_INVALID_ARGUMENT;
|
||||
}
|
||||
|
||||
if (this->groupSize[0] == groupSizeX &&
|
||||
this->groupSize[1] == groupSizeY &&
|
||||
this->groupSize[2] == groupSizeZ) {
|
||||
return ZE_RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
auto numChannels = kernelImmData->getDescriptor().kernelAttributes.numLocalIdChannels;
|
||||
Vec3<size_t> groupSize{groupSizeX, groupSizeY, groupSizeZ};
|
||||
auto itemsInGroup = Math::computeTotalElementsCount(groupSize);
|
||||
|
||||
Reference in New Issue
Block a user