CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
55 lines
1.4 KiB
C
55 lines
1.4 KiB
C
/*************************************************************************
|
|
* Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.
|
|
*
|
|
* See LICENSE.txt for license information
|
|
*
|
|
* Minimal types for the proxytrace profiler plugin only (same content as
|
|
* plugins/profiler/example/nccl/common.h + nccl/err.h). Kept local so this
|
|
* plugin does not depend on plugins/profiler/example/.
|
|
************************************************************************/
|
|
|
|
#ifndef RCCL_PROXYTRACE_PLUGIN_SHIM_H_
|
|
#define RCCL_PROXYTRACE_PLUGIN_SHIM_H_
|
|
|
|
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;
|
|
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;
|
|
|
|
typedef void (*ncclDebugLogger_t)(ncclDebugLogLevel level, unsigned long flags, const char* file, int line,
|
|
const char* fmt, ...);
|
|
|
|
typedef enum {
|
|
ncclSuccess = 0,
|
|
ncclUnhandledCudaError = 1,
|
|
ncclSystemError = 2,
|
|
ncclInternalError = 3,
|
|
ncclInvalidArgument = 4,
|
|
ncclInvalidUsage = 5,
|
|
ncclRemoteError = 6
|
|
} ncclResult_t;
|
|
|
|
#endif
|