mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
L0 Metrics Api: multi adapter support
Switching to Metrics Discovery adapter interface.
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
09f9b2896e
commit
4a5599b1ee
@@ -937,6 +937,10 @@ bool Wddm::verifyAdapterLuid(LUID adapterLuid) const {
|
||||
return adapterLuid.HighPart == hwDeviceId->getAdapterLuid().HighPart && adapterLuid.LowPart == hwDeviceId->getAdapterLuid().LowPart;
|
||||
}
|
||||
|
||||
LUID Wddm::getAdapterLuid() const {
|
||||
return hwDeviceId->getAdapterLuid();
|
||||
}
|
||||
|
||||
VOID *Wddm::registerTrimCallback(PFND3DKMT_TRIMNOTIFICATIONCALLBACK callback, WddmResidencyController &residencyController) {
|
||||
if (DebugManager.flags.DoNotRegisterTrimCallback.get()) {
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user