mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5c6ae48d17
commit
195bf66a49
@@ -364,7 +364,7 @@ void computeWorkgroupSizeND(WorkSizeInfo &wsInfo, size_t workGroupSize[3], const
|
||||
auto optimalWgThreadCount = optimalHardwareThreadCountGeneric[0];
|
||||
bool totalRequiredThreadGroupsMoreThanSingleThreadGroup = totalNumberOfItems > wsInfo.simdSize * optimalWgThreadCount;
|
||||
|
||||
// Find biggest power of two which devide each dimension size
|
||||
// Find biggest power of two which divide each dimension size
|
||||
if (wsInfo.slmTotalSize == 0 && !wsInfo.hasBarriers) {
|
||||
if (debugManager.flags.EnableComputeWorkSizeSquared.get() && workDim == 2 && !wsInfo.imgUsed) {
|
||||
return computeWorkgroupSizeSquared(wsInfo.maxWorkGroupSize, workGroupSize, workItems, wsInfo.simdSize, workDim);
|
||||
@@ -393,7 +393,7 @@ void computeWorkgroupSizeND(WorkSizeInfo &wsInfo, size_t workGroupSize[3], const
|
||||
if (allItems > wsInfo.simdSize && (allItems > wsInfo.maxWorkGroupSize || allItems > wsInfo.simdSize * optimalWgThreadCount)) {
|
||||
return computePowerOfTwoLWS(itemsPowerOfTwoDivisors, wsInfo, workGroupSize, workDim, canUseNx4);
|
||||
}
|
||||
// If coputed workgroup is at this point in correct size
|
||||
// If computed workgroup is at this point in correct size
|
||||
else if (allItems >= wsInfo.simdSize) {
|
||||
itemsPowerOfTwoDivisors[1] = canUseNx4 ? 4 : itemsPowerOfTwoDivisors[1];
|
||||
for (auto i = 0u; i < workDim; i++)
|
||||
|
||||
Reference in New Issue
Block a user