mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
performance: Ensure hostptrs removed before creating new one
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ebc19b4a70
commit
ac1d203555
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -14,5 +14,8 @@ class DeferrableDeletion : public IDNode<DeferrableDeletion> {
|
||||
template <typename... Args>
|
||||
static DeferrableDeletion *create(Args... args);
|
||||
virtual bool apply() = 0;
|
||||
|
||||
bool isExternalHostptr() const { return externalHostptr; }
|
||||
bool externalHostptr = false;
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user