Changes to support surfacing of link weight as part of link info
Change-Id: I1c0705a9374af1245f0419c51beded0d7ee10639
Этот коммит содержится в:
@@ -131,6 +131,7 @@ void RegisterLinkInfo(uint32_t node_id, uint32_t num_link) {
|
||||
link_info.max_latency = io_link.MaximumLatency;
|
||||
link_info.min_bandwidth = io_link.MinimumBandwidth;
|
||||
link_info.min_latency = io_link.MinimumLatency;
|
||||
link_info.numa_distance = io_link.Weight;
|
||||
|
||||
core::Runtime::runtime_singleton_->RegisterLinkInfo(
|
||||
io_link.NodeFrom, io_link.NodeTo, io_link.Weight, link_info);
|
||||
|
||||
@@ -973,6 +973,10 @@ typedef struct hsa_amd_memory_pool_link_info_s {
|
||||
*/
|
||||
hsa_amd_link_info_type_t link_type;
|
||||
|
||||
/**
|
||||
* NUMA distance of memory pool relative to querying agent
|
||||
*/
|
||||
uint32_t numa_distance;
|
||||
} hsa_amd_memory_pool_link_info_t;
|
||||
|
||||
/**
|
||||
|
||||
Ссылка в новой задаче
Block a user