Add documentation for NCCL NET plugins

Also repurpose dummy plugin as example, including headers and
compat layers from v6 to v2.


[ROCm/rccl commit: 55b1d8ab98]
이 커밋은 다음에 포함됨:
Sylvain Jeaugey
2022-11-21 06:03:27 -08:00
부모 775f1b59ba
커밋 06f55215e2
12개의 변경된 파일906개의 추가작업 그리고 80개의 파일을 삭제
+16
파일 보기
@@ -0,0 +1,16 @@
/*
* Copyright (c) 2017-2022, NVIDIA CORPORATION. All rights reserved.
*/
#ifndef NCCL_ERR_H_
#define NCCL_ERR_H_
/* Error type for plugins */
typedef enum { ncclSuccess = 0,
ncclUnhandledCudaError = 1,
ncclSystemError = 2,
ncclInternalError = 3,
ncclInvalidArgument = 4,
ncclRemoteError = 6 } ncclResult_t;
#endif