fix: handle single storage USM in gtpin helpers

use GPU address from gpu allocation instead of CPU allocation
check page fault manager presence before migrating to GPU domain

Related-To: NEO-7690
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-04-19 12:12:05 +00:00
committed by Compute-Runtime-Automation
parent 97a8f15fbd
commit 688d958fe8
4 changed files with 159 additions and 93 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -19,4 +19,9 @@ template <typename T, typename... RT>
bool areNotNullptr(T t, RT... rt) {
return (t != nullptr) && areNotNullptr<RT...>(rt...);
}
template <typename T, typename... RT>
bool isAnyNullptr(T t, RT... rt) {
return !areNotNullptr(t, rt...);
}
} // namespace NEO