From 6dfdfef98f4f2c9790678a0bc714cee8b3c05685 Mon Sep 17 00:00:00 2001 From: Wenkai Du Date: Sat, 6 Feb 2021 00:19:47 +0000 Subject: [PATCH] Add gfx908 Rome 4 NICs model --- tools/scripts/topo_val.sh | 2 +- tools/topo_expl/models/topo_8p_rome_4nics.xml | 126 ++++++++++++++++++ tools/topo_expl/topo_expl.cpp | 2 + 3 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 tools/topo_expl/models/topo_8p_rome_4nics.xml diff --git a/tools/scripts/topo_val.sh b/tools/scripts/topo_val.sh index fe11d8b26e..07d8d050d5 100755 --- a/tools/scripts/topo_val.sh +++ b/tools/scripts/topo_val.sh @@ -21,7 +21,7 @@ DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -for i in {0..47} +for i in {0..49} do $DIR/../topo_expl/topo_expl -m $i > "topo_m$i.log" $DIR/../TopoVisual/topo_visual.sh -i "topo_m$i.log" diff --git a/tools/topo_expl/models/topo_8p_rome_4nics.xml b/tools/topo_expl/models/topo_8p_rome_4nics.xml new file mode 100644 index 0000000000..8129927d71 --- /dev/null +++ b/tools/topo_expl/models/topo_8p_rome_4nics.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/topo_expl/topo_expl.cpp b/tools/topo_expl/topo_expl.cpp index db9181996c..77b0597e51 100644 --- a/tools/topo_expl/topo_expl.cpp +++ b/tools/topo_expl/topo_expl.cpp @@ -117,6 +117,8 @@ NodeModelDesc model_descs[] = { {1, "topo_8p_rome_n4_1.xml", "single node 8 gfx908 Rome NPS=4"}, {4, "topo_8p_rome_n4_1.xml", "4 nodes node 8 gfx908 Rome NPS=4"}, {2, "topo_8p_rome_pcie.xml", "2 nodes node 8 VEGA20 PCIe"}, + {1, "topo_8p_rome_4nics.xml", "single node 8 gfx908 Rome 4 NICs"}, + {4, "topo_8p_rome_4nics.xml", "4 nodes node 8 gfx908 Rome 4 NICs"}, }; int main(int argc,char* argv[])