From 1cb70716bf0d4304deb31f91d817c5e41095f56d Mon Sep 17 00:00:00 2001 From: Inforithmics Date: Sat, 20 Sep 2025 15:26:24 +0200 Subject: [PATCH] revert debug code --- discover/gpu.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/discover/gpu.go b/discover/gpu.go index a96e5de5b..f6152bf0d 100644 --- a/discover/gpu.go +++ b/discover/gpu.go @@ -437,16 +437,16 @@ func GetGPUInfo() GpuInfoList { } } - //rocmGPUs, err = AMDGetGPUInfo() + rocmGPUs, err = AMDGetGPUInfo() // The ID field is used in context of the filtered set of GPUS // so we have to replace any of these numeric IDs with their // placement in this set of GPUs - //for i := range rocmGPUs { - // if _, err := strconv.Atoi(rocmGPUs[i].ID); err == nil { - // rocmGPUs[i].ID = strconv.Itoa(i) - // } - //} + for i := range rocmGPUs { + if _, err := strconv.Atoi(rocmGPUs[i].ID); err == nil { + rocmGPUs[i].ID = strconv.Itoa(i) + } + } // Vulkan vHandles = initVulkanHandles()