diff options
Diffstat (limited to 'src/include/checks.h')
-rw-r--r-- | src/include/checks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/checks.h b/src/include/checks.h index 50737b0..257e9ca 100644 --- a/src/include/checks.h +++ b/src/include/checks.h @@ -56,7 +56,7 @@ ncclResult_t res = call; \ if (res != ncclSuccess) { \ /* Print the back trace*/ \ - INFO(NCCL_ALL,"%s:%d -> %d", __FILE__, __LINE__, res); \ + if (ncclDebugNoWarn == 0) INFO(NCCL_ALL,"%s:%d -> %d", __FILE__, __LINE__, res); \ return res; \ } \ } while (0); @@ -65,7 +65,7 @@ res = call; \ if (res != ncclSuccess) { \ /* Print the back trace*/ \ - INFO(NCCL_ALL,"%s:%d -> %d", __FILE__, __LINE__, res); \ + if (ncclDebugNoWarn == 0) INFO(NCCL_ALL,"%s:%d -> %d", __FILE__, __LINE__, res); \ goto label; \ } \ } while (0); |