Add node property to report number of GWS

Change-Id: I81263ca7ebfa3c0f9f1be78acfa0920e47d551b1
Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>


[ROCm/ROCR-Runtime commit: 45d717d860]
This commit is contained in:
Oak Zeng committed 2019-06-10 21:07:45 -05:00
1 parent 82670ee7fc
commit b17d287432
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -1005,6 +1005,8 @@ HSAKMT_STATUS topology_sysfs_get_node_props(uint32_t node_id,
props->NumSdmaEngines = prop_val;
else if (strcmp(prop_name, "num_sdma_xgmi_engines") == 0)
props->NumSdmaXgmiEngines = prop_val;
else if (strcmp(prop_name, "num_gws") == 0)
props->NumGws = prop_val;
}
hsa_gfxip = find_hsa_gfxip_device(props->DeviceId);