feature: create single temporary allocation for bcs split 2

Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2025-09-16 15:42:34 +00:00
committed by Compute-Runtime-Automation
parent 1bf6431030
commit d1d566a71b
6 changed files with 74 additions and 10 deletions

View File

@@ -24,4 +24,9 @@ template <typename T, typename... RT>
bool isAnyNullptr(T t, RT... rt) {
return !areNotNullptr(t, rt...);
}
template <typename T>
T getIfValid(T value, T defaultValue) {
return value ? value : defaultValue;
}
} // namespace NEO