Skip to content

Commit 5978d2f

Browse files
authored
Print out the hipRuntimeVersion message from WARN to always show up (#1911)
Authored-by: Jiali Li <jialili@amd.com>
1 parent 42ce371 commit 5978d2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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)