Add node property to report number of GWS
Change-Id: I81263ca7ebfa3c0f9f1be78acfa0920e47d551b1 Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
This commit is contained in:
1 orang tua
396a85e97b
melakukan
45d717d860
2 files changed
+4
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user