Skip to content

Commit c0f5041

Browse files
Add ERROR message class
[rocm-systems] ROCm/rocm-systems#3038 (commit d0d7ac6)
1 parent cb78032 commit c0f5041

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

ext-profiler/inspector/nccl/common.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef COMMON_H_
88
#define COMMON_H_
99

10-
/* typedef enum {NCCL_LOG_NONE=0, NCCL_LOG_VERSION=1, NCCL_LOG_WARN=2, NCCL_LOG_INFO=3, NCCL_LOG_ABORT=4, NCCL_LOG_TRACE=5} ncclDebugLogLevel; */
10+
/* typedef enum {NCCL_LOG_NONE=0, NCCL_LOG_ERROR=1, NCCL_LOG_VERSION=2, NCCL_LOG_WARN=3, NCCL_LOG_INFO=4, NCCL_LOG_ABORT=5, NCCL_LOG_TRACE=6} ncclDebugLogLevel; */
1111
/* typedef enum {NCCL_INIT=1, NCCL_COLL=2, NCCL_P2P=4, NCCL_SHM=8, NCCL_NET=16, NCCL_GRAPH=32, NCCL_TUNING=64, NCCL_ENV=128, NCCL_ALLOC=256, NCCL_CALL=512, NCCL_PROXY=1024, NCCL_NVLS=2048, NCCL_BOOTSTRAP=4096, NCCL_REG=8192, NCCL_ALL=~0} ncclDebugLogSubSys; */
1212

1313
/* Data types */
@@ -28,11 +28,12 @@ typedef enum { ncclInt8 = 0, ncclChar = 0,
2828

2929
typedef enum {
3030
NCCL_LOG_NONE = 0,
31-
NCCL_LOG_VERSION = 1,
32-
NCCL_LOG_WARN = 2,
33-
NCCL_LOG_INFO = 3,
34-
NCCL_LOG_ABORT = 4,
35-
NCCL_LOG_TRACE = 5
31+
NCCL_LOG_ERROR = 1,
32+
NCCL_LOG_VERSION = 2,
33+
NCCL_LOG_WARN = 3,
34+
NCCL_LOG_INFO = 4,
35+
NCCL_LOG_ABORT = 5,
36+
NCCL_LOG_TRACE = 6
3637
} ncclDebugLogLevel;
3738

3839
typedef enum { ncclSuccess = 0,

0 commit comments

Comments
 (0)