|
@@ -140,7 +140,7 @@ func AMDGetGPUInfo() []GpuInfo {
|
|
}
|
|
}
|
|
|
|
|
|
if int(major) < RocmComputeMin {
|
|
if int(major) < RocmComputeMin {
|
|
- slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%d%d", major, minor, patch), "gpu", gpuID)
|
|
|
|
|
|
+ slog.Warn(fmt.Sprintf("amdgpu too old gfx%d%d%x", major, minor, patch), "gpu", gpuID)
|
|
continue
|
|
continue
|
|
}
|
|
}
|
|
|
|
|
|
@@ -266,7 +266,7 @@ func AMDGetGPUInfo() []GpuInfo {
|
|
}
|
|
}
|
|
slog.Debug("rocm supported GPUs", "types", supported)
|
|
slog.Debug("rocm supported GPUs", "types", supported)
|
|
}
|
|
}
|
|
- gfx := fmt.Sprintf("gfx%d%d%d", gpuInfo.Major, gpuInfo.Minor, gpuInfo.Patch)
|
|
|
|
|
|
+ gfx := fmt.Sprintf("gfx%d%d%x", gpuInfo.Major, gpuInfo.Minor, gpuInfo.Patch)
|
|
if !slices.Contains[[]string, string](supported, gfx) {
|
|
if !slices.Contains[[]string, string](supported, gfx) {
|
|
slog.Warn("amdgpu is not supported", "gpu", gpuInfo.ID, "gpu_type", gfx, "library", libDir, "supported_types", supported)
|
|
slog.Warn("amdgpu is not supported", "gpu", gpuInfo.ID, "gpu_type", gfx, "library", libDir, "supported_types", supported)
|
|
// TODO - consider discrete markdown just for ROCM troubleshooting?
|
|
// TODO - consider discrete markdown just for ROCM troubleshooting?
|