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

Authored-by: Jiali Li <jialili@amd.com>


[ROCm/rccl commit: 5978d2f9ab]
このコミットが含まれているのは:
amd-jiali authored and GitHub committed 2025-10-02 11:32:32 -05:00
1 親 dfd4f19978
コミット 917973d9e9
1ファイル変更
+2 -1
+2 -1
ファイルの表示
@@ -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;