Numa affinity shows large number

Change the affinity from unsigned int to integer to represent -1.

Change-Id: I82dc6f476b45fa4ec03a3c686fe8e6e2b7761b56


[ROCm/amdsmi commit: 471fbfddc1]
This commit is contained in:
Bill(Shuzhou) Liu
2023-08-24 13:08:47 -05:00
committed by Shuzhou Liu
parent d8480a22d9
commit 914dee641d
5 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -3077,7 +3077,7 @@ def showNumaTopology(deviceList):
@param deviceList: List of DRM devices (can be a single-item list)
"""
printLogSpacer(' Numa Nodes ')
numa_numbers = c_uint32()
numa_numbers = c_int32()
for device in deviceList:
ret = rocmsmi.rsmi_topo_get_numa_node_number(device, byref(numa_numbers))
if rsmi_ret_ok(ret, device, 'get_numa_node_number'):