Skip to content

Commit 917973d

Browse files
authored
Print out the hipRuntimeVersion message from WARN to always show up (#1911)
Authored-by: Jiali Li <jialili@amd.com> [ROCm/rccl commit: 5978d2f]
1 parent dfd4f19 commit 917973d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/rccl/src/init.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ ncclResult_t checkHsaEnvSetting() {
150150

151151
INFO(NCCL_INIT, "Hipruntime version: %d, firmware version: %d", hipRuntimeVersion, firmwareVersion);
152152
if (!validHsaScratchEnvSetting(hsaScratchEnv, hipRuntimeVersion, firmwareVersion, devProp.gcnArchName)) {
153-
WARN("HSA_NO_SCRATCH_RECLAIM=1 must be set to avoid RCCL perf hit, rocm ver:%d", hipRuntimeVersion);
153+
// Always print out this warning message
154+
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);
154155
return ncclSystemError;
155156
}
156157
return ncclSuccess;

0 commit comments

Comments
 (0)