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 authored and Frank Min committed 2025-11-05 18:53:35 +08:00
1 parent 0fae2bb262
commit 9f5bda00ca
2 files changed
+270 -526

No files matched your search

+1 -1
View 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
View File
File diff suppressed because it is too large. Load diff