wsl/hsakmt: refactor topology related code

Signed-off-by: Flora Cui <flora.cui@amd.com>
Reviewed by: Shi.Leslie <Yuliang.Shi@amd.com>

Part-of: <http://10.67.69.192/wsl/rocr-runtime/-/merge_requests/13>
This commit is contained in:
Flora Cui
2024-11-18 14:40:36 +08:00
committed by Frank Min
orang tua 0fae2bb262
melakukan 9f5bda00ca
2 mengubah file dengan 270 tambahan dan 526 penghapusan
+1 -1
Melihat File
@@ -153,7 +153,7 @@ uint16_t get_device_id_by_node_id(HSAuint32 node_id);
uint16_t get_device_id_by_gpu_id(HSAuint32 gpu_id);
uint32_t get_direct_link_cpu(uint32_t gpu_node);
HSAKMT_STATUS topology_sysfs_get_system_props(HsaSystemProperties *props);
HSAKMT_STATUS topology_sysfs_get_system_props(HsaSystemProperties& props);
HSAKMT_STATUS topology_get_node_props(HSAuint32 NodeId,
HsaNodeProperties *NodeProperties);
HSAKMT_STATUS topology_get_iolink_props(HSAuint32 NodeId,
+269 -525
Melihat File
File diff ditekan karena terlalu besar Load Diff