mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Update Fabric Latency to Edge Properties (2)
- Only initialize vertexes when queried. - Return also bandwidth when calling PRELIM_DRM_I915_QUERY_FABRIC_INFO. Related-To: LOCI-3464 Signed-off-by: Jaime A Arteaga Molina <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
638aba45a0
commit
5446b9ca0d
@@ -224,7 +224,8 @@ bool FabricSubDeviceIaf::getEdgeProperty(FabricSubDeviceIaf *pNeighbourInterface
|
||||
|
||||
edgeProperty.latency = std::numeric_limits<uint32_t>::max();
|
||||
edgeProperty.latencyUnit = ZE_LATENCY_UNIT_UNKNOWN;
|
||||
if (pDrm->getIoctlHelper()->getFabricLatency(neighbourFabricId, edgeProperty.latency) == true) {
|
||||
uint32_t bandwidth = 0;
|
||||
if (pDrm->getIoctlHelper()->getFabricLatency(neighbourFabricId, edgeProperty.latency, bandwidth) == true) {
|
||||
edgeProperty.latencyUnit = ZE_LATENCY_UNIT_HOP;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user