Add gfx90a target (#344)

* Add gfx90a target

* Support gfx90a topology

Co-authored-by: Eiden Yoshida <eiden.yoshida@amd.com>
This commit is contained in:
Wenkai Du
2021-04-14 08:29:00 -07:00
committed by GitHub
parent 3f18540f50
commit 1fe031402a
8 changed files with 106 additions and 13 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
for i in {0..51}
for i in {0..52}
do
if [[ $i -eq 50 ]] || [[ $i -eq 51 ]]
then
+67
View File
@@ -0,0 +1,67 @@
<system version="2">
<cpu numaid="0" affinity="ffffffff,ffffffff,ffffffff,ffffffff" arch="x86_64" vendor="AuthenticAMD" familyid="175" modelid="48">
<pci busid="0000:c1:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="0" sm="90" gcn="910" arch="38911" rank="0" gdr="0">
<xgmi target="0000:c5:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:c9:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d9:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:c5:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="1" sm="90" gcn="910" arch="38911" rank="1" gdr="0">
<xgmi target="0000:c1:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:cd:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d5:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:c9:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="2" sm="90" gcn="910" arch="38911" rank="2" gdr="0">
<xgmi target="0000:c1:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:cd:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d1:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:cd:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="3" sm="90" gcn="910" arch="38911" rank="3" gdr="0">
<xgmi target="0000:c5:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:c9:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:dd:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:d1:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="4" sm="90" gcn="910" arch="38911" rank="4" gdr="0">
<xgmi target="0000:c9:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d5:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d9:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:d5:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="5" sm="90" gcn="910" arch="38911" rank="5" gdr="0">
<xgmi target="0000:c5:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d1:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:dd:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:d9:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="6" sm="90" gcn="910" arch="38911" rank="6" gdr="0">
<xgmi target="0000:c1:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d1:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:dd:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:dd:00.0" class="0x038000" link_speed="16.0 GT/s PCIe" link_width="16">
<gpu dev="7" sm="90" gcn="910" arch="38911" rank="7" gdr="0">
<xgmi target="0000:cd:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d5:00.0" count="1" tclass="0x038000"/>
<xgmi target="0000:d9:00.0" count="1" tclass="0x038000"/>
</gpu>
</pci>
<pci busid="0000:91:00.0" class="0x060400" link_speed="16.0 GT/s PCIe" link_width="4">
<pci busid="0000:94:00.0" class="0x020000" link_speed="2.5 GT/s PCIe" link_width="1">
<nic>
<net name="eth0" dev="0" speed="1000" port="0" guid="0x0" maxconn="65536" gdr="0"/>
</nic>
</pci>
</pci>
</cpu>
</system>
+1
View File
@@ -121,6 +121,7 @@ NodeModelDesc model_descs[] = {
{4, "topo_8p_rome_4nics.xml", "4 nodes node 8 gfx908 Rome 4 NICs"},
{4, "topo_collnet_n1.xml", "4 nodes collnet 1 NICs"},
{4, "topo_collnet_n4.xml", "4 nodes collnet 4 NICs"},
{1, "topo_8p_90a.xml", "single node gfx90a"},
};
int main(int argc,char* argv[])