Print out the hipRuntimeVersion message from WARN to always show up (#1911)

Authored-by: Jiali Li <jialili@amd.com>
Este commit está contenido en:
amd-jiali
2025-10-02 09:32:32 -07:00
cometido por GitHub
padre 42ce371e3d
commit 5978d2f9ab
+2 -1
Ver fichero
@@ -150,7 +150,8 @@ ncclResult_t checkHsaEnvSetting() {
INFO(NCCL_INIT, "Hipruntime version: %d, firmware version: %d", hipRuntimeVersion, firmwareVersion);
if (!validHsaScratchEnvSetting(hsaScratchEnv, hipRuntimeVersion, firmwareVersion, devProp.gcnArchName)) {
WARN("HSA_NO_SCRATCH_RECLAIM=1 must be set to avoid RCCL perf hit, rocm ver:%d", hipRuntimeVersion);
// Always print out this warning message
printf("Fatal Error: HSA_NO_SCRATCH_RECLAIM=1 must be set to avoid performance degradation with HIP Runtime version:%d, GPU Firmware version:%d\n", hipRuntimeVersion, firmwareVersion);
return ncclSystemError;
}
return ncclSuccess;