mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
[performance] do not perform migrations if not needed.
Skip migrations if nothing is migrated to the CPU side. Related-To: NEO-5170 Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bd8b85c354
commit
15f08a92c0
@@ -44,7 +44,7 @@ class PageFaultManager : public NonCopyableOrMovableClass {
|
||||
};
|
||||
|
||||
typedef void (*gpuDomainHandlerFunc)(PageFaultManager *pageFaultHandler, void *alloc, PageFaultData &pageFaultData);
|
||||
|
||||
[[nodiscard]] std::unique_lock<SpinLock> obtainUniqueOwnership() { return std::unique_lock<SpinLock>(this->mtx); }
|
||||
void setGpuDomainHandler(gpuDomainHandlerFunc gpuHandlerFuncPtr);
|
||||
|
||||
virtual void allowCPUMemoryAccess(void *ptr, size_t size) = 0;
|
||||
|
||||
Reference in New Issue
Block a user