mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Register trim callback after creating monitored fence
Change-Id: Ib0510a0aed180c7bfe883a60632fd642664e1085 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
5b316d142c
commit
1a89a0103a
@@ -24,6 +24,7 @@ OsContextWin::OsContextImpl(Wddm &wddm, uint32_t osContextId) : wddm(wddm), resi
|
||||
}
|
||||
}
|
||||
initialized = wddmInterface->createMonitoredFence(this->residencyController);
|
||||
this->residencyController.registerCallback();
|
||||
};
|
||||
OsContextWin::~OsContextImpl() {
|
||||
wddm.getWddmInterface()->destroyHwQueue(hwQueueHandle);
|
||||
|
||||
Reference in New Issue
Block a user