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]
This commit is contained in:
Bill(Shuzhou) Liu
2023-08-24 13:08:47 -05:00
zatwierdzone przez Shuzhou Liu
rodzic 2b199f14ec
commit 087a642570
5 zmienionych plików z 11 dodań i 9 usunięć
@@ -1534,7 +1534,7 @@ rsmi_status_t rsmi_dev_pci_id_get(uint32_t dv_ind, uint64_t *bdfid);
* support this function with the given arguments
* @retval ::RSMI_STATUS_INVALID_ARGS the provided arguments are not valid
*/
rsmi_status_t rsmi_topo_numa_affinity_get(uint32_t dv_ind, uint32_t *numa_node);
rsmi_status_t rsmi_topo_numa_affinity_get(uint32_t dv_ind, int32_t *numa_node);
/**
* @brief Get PCIe traffic information