From 9b4a9acd279a38ffa36b09a0510c698abbf6615b Mon Sep 17 00:00:00 2001 From: Allan Xavier Date: Wed, 29 Oct 2025 12:29:37 -0500 Subject: [PATCH] Allowed GPU enumeration to continue with non-contiguous render nodes Signed-off-by: gabrpham_amdeng [ROCm/amdsmi commit: 51971426bdb4688c847ae4374edb84e9c95cc646] --- projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc b/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc index 86ffc315b6..c0960f5a5f 100644 --- a/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc +++ b/projects/amdsmi/rocm_smi/src/rocm_smi_kfd.cc @@ -709,7 +709,7 @@ KFDNode::Initialize(void) { node_to = it->first; link = it->second; ret = ReadKFDGpuId(node_to, &node_to_gpu_id); - if (ret) {return ret;} + if (ret) {continue;} if (node_to_gpu_id == 0) { // CPU node if (numa_node_found) { if (numa_node_weight_ > link->weight()) {