mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
97a8f15fbd
commit
688d958fe8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user