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-22 02:12:53 -08:00 提交
1 父节点 775f1b59ba
当前提交 06f55215e2
12 个文件已更改
+906 -80

没有与搜索条件相匹配的文件

+17
查看文件
@@ -0,0 +1,17 @@
#
# Copyright (c) 2015-2019, NVIDIA CORPORATION. All rights reserved.
#
# See LICENSE.txt for license information
#
NCCL_HOME:=../../build/
CUDA_HOME:=/usr/local/cuda
INC:= -I$(NCCL_HOME)/include -I$(CUDA_HOME)/include
PLUGIN_SO:=libnccl-net.so
default: $(PLUGIN_SO)
$(PLUGIN_SO): plugin.c
$(CC) $(INC) -fPIC -shared -o $@ -Wl,-soname,$(PLUGIN_SO) $^
clean:
rm -f $(PLUGIN_SO)