Report HMM driver support status.

Implements HSA_AMD_SYSTEM_INFO_SVM_SUPPORTED.

Change-Id: If5182edcc1fa067fa514aa2c1bd326c4c42d1b64
This commit is contained in:
Sean Keely
2021-04-21 21:44:42 -05:00
parent 77046a1aaa
commit ee8b1b64ad
2 ha cambiato i file con 7 aggiunte e 3 eliminazioni
@@ -143,7 +143,7 @@ GpuAgent* DiscoverGpu(HSAuint32 node_id, HsaNodeProperties& node_prop, bool xnac
if (gpu->isa()->GetProcessorName() == "gfx908") {
node_prop.Capability.ui32.SRAM_EDCSupport = 1;
delete gpu;
gpu = new GpuAgent(node_id, node_prop);
gpu = new GpuAgent(node_id, node_prop, xnack_mode);
}
}
} catch (const hsa_exception& e) {