Skip to content

Commit

Permalink
topo_expl: update to 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
wenkaidu committed Apr 1, 2020
1 parent fa36fd9 commit 6f54b23
Show file tree
Hide file tree
Showing 18 changed files with 936 additions and 540 deletions.
2 changes: 1 addition & 1 deletion src/graph/topo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ ncclResult_t ncclTopoAddNet(struct ncclXmlNode* xmlNet, struct ncclTopoSystem* s
if (xmlGetAttrInt(xmlNet, "port", &net->net.port) != ncclSuccess) net->net.port = 0;
if (xmlGetAttrInt(xmlNet, "gdr", &net->net.gdrSupport) != ncclSuccess) net->net.gdrSupport = 0;
if (xmlGetAttrInt(xmlNet, "maxconn", &net->net.maxChannels) != ncclSuccess) net->net.maxChannels = MAXCHANNELS;
if (xmlGetAttrInt(xmlNet, "coll", &net->net.collSupport) != ncclSuccess) net->net.collSupport = 0;
if (ncclCollNet && xmlGetAttrInt(xmlNet, "coll", &net->net.collSupport) != ncclSuccess) net->net.collSupport = 0;
ncclDebugNoWarn = 0;

NCCLCHECK(ncclTopoConnectNodes(nic, net, LINK_NET, net->net.width));
Expand Down
3 changes: 2 additions & 1 deletion tools/topo_expl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ HIPCC = $(HIP_PATH)/bin/hipcc
EXE = topo_expl
CXXFLAGS = -g -O3 -Iinclude -I../../src/include -I../../src/graph/ -DTOPO_EXPL -DENABLE_TRACE

files = $(EXE).cpp model.cpp utils.cpp ../../src/graph/topo.cc ../../src/graph/rings.cc ../../src/graph/paths.cc ../../src/graph/trees.cc ../../src/graph/search.cc ../../src/graph/connect.cc
files = $(EXE).cpp model.cpp utils.cpp ../../src/graph/topo.cc ../../src/graph/rings.cc ../../src/graph/paths.cc ../../src/graph/trees.cc \
../../src/graph/search.cc ../../src/graph/connect.cc ../../src/graph/tuning.cc ../../src/graph/xml.cc ../../src/misc/nvmlwrap_stub.cc

all: $(EXE)

Expand Down
Loading

0 comments on commit 6f54b23

Please sign in to comment.