diff --git a/level_zero/core/source/kernel/kernel_imp.cpp b/level_zero/core/source/kernel/kernel_imp.cpp index c1dd97b842..4a733341b2 100644 --- a/level_zero/core/source/kernel/kernel_imp.cpp +++ b/level_zero/core/source/kernel/kernel_imp.cpp @@ -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) { return surfaceStateHeapDataSize; } - if (noBindlessExplicitArgs) { + if (noneOfExplicitArgsRequireLocalSsh) { return 0; } }