libhsakmt: Init apertures in AcquireSystemProperties

This allows init_process_apertures to use the whole consistent topoology
instead of taking its own partial snapshot.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Change-Id: Ia13e7aa7fcd090ea8d6cacd4babb29a27c20207f
This commit is contained in:
Felix Kuehling
2022-07-13 16:51:56 -04:00
parent 412b24137e
commit 87aca673e8
4 changed files with 51 additions and 42 deletions
+1 -1
View File
@@ -2234,7 +2234,7 @@ HSAKMT_STATUS fmm_init_process_apertures(unsigned int NumNodes)
for (i = 0; i < NumNodes; i++) {
memset(&props, 0, sizeof(props));
ret = topology_sysfs_get_node_props(i, &props, NULL, NULL);
ret = topology_get_node_props(i, &props);
if (ret != HSAKMT_STATUS_SUCCESS)
goto sysfs_parse_failed;