refactor: change name of variable

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-09-12 17:56:29 +00:00
committed by Compute-Runtime-Automation
parent e6079cdf24
commit 7cd9a2aa60

View File

@ -1223,13 +1223,13 @@ uint32_t KernelImp::getSurfaceStateHeapDataSize() const {
} }
} }
const bool noBindlessExplicitArgs = std::none_of(usingSurfaceStateHeap.cbegin(), usingSurfaceStateHeap.cend(), [](bool i) { return i; }); const bool noneOfExplicitArgsRequireLocalSsh = std::none_of(usingSurfaceStateHeap.cbegin(), usingSurfaceStateHeap.cend(), [](bool i) { return i; });
if (isBindlessImplicitArgPresent && !bindlessHeapsHelper) { if (isBindlessImplicitArgPresent && !bindlessHeapsHelper) {
return surfaceStateHeapDataSize; return surfaceStateHeapDataSize;
} }
if (noBindlessExplicitArgs) { if (noneOfExplicitArgsRequireLocalSsh) {
return 0; return 0;
} }
} }