Numa affinity shows large number

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

Change-Id: I82dc6f476b45fa4ec03a3c686fe8e6e2b7761b56


[ROCm/rocm_smi_lib commit: 471fbfddc1]
Цей коміт міститься в:
Bill(Shuzhou) Liu authored and Shuzhou Liu committed 2023-08-25 09:01:08 -04:00
1 джерело 2b199f14ec
коміт 087a642570
5 files changed
+11 -9

No files matched your search

+1 -1
Переглянути файл
@@ -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'):