Files
matmul-analysis/昇腾950PR_数据通路.svg

89 lines
6.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<svg viewBox="0 0 680 600" width="100%" role="img" xmlns="http://www.w3.org/2000/svg">
<title>昇腾950PR 单AI Core组数据通路</title>
<desc>GM经L2、L1进入AIC的L0A/L0BCube计算结果入L0C经Fixpipe随路量化后直达AIV的UBL1与UB间有CV直连通道AIC与AIV经SSBuffer核间通信</desc>
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M2 1L8 5L2 9" fill="none" stroke="context-stroke" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</marker>
</defs>
<rect x="240" y="20" width="200" height="40" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="340" y="37" text-anchor="middle" font-size="12" fill="#0C447C">高速片上内存GM</text>
<text x="340" y="52" text-anchor="middle" font-size="11" fill="#185FA5">128GB · 1.6TB/s</text>
<rect x="240" y="85" width="200" height="40" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="340" y="102" text-anchor="middle" font-size="12" fill="#0C447C">L2 Cache 128MB · 5.2TB/s</text>
<text x="340" y="117" text-anchor="middle" font-size="11" fill="#185FA5">UMA · 512B line · L2 hint</text>
<rect x="150" y="150" width="380" height="235" rx="8" fill="none" stroke="#B4B2A9" stroke-width="0.5"/>
<text x="170" y="170" font-size="12" font-weight="500" fill="#444441">AICCube Core× 32</text>
<rect x="170" y="182" width="150" height="38" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="245" y="197" text-anchor="middle" font-size="12" fill="#0C447C">L1 Buffer 512KB</text>
<text x="245" y="212" text-anchor="middle" font-size="11" fill="#185FA5">NZ 分形</text>
<rect x="170" y="248" width="72" height="36" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="206" y="263" text-anchor="middle" font-size="11" fill="#0C447C">L0A 64KB</text>
<text x="206" y="277" text-anchor="middle" font-size="11" fill="#185FA5">NZ</text>
<rect x="248" y="248" width="72" height="36" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="284" y="263" text-anchor="middle" font-size="11" fill="#0C447C">L0B 64KB</text>
<text x="284" y="277" text-anchor="middle" font-size="11" fill="#185FA5">ZN</text>
<rect x="350" y="248" width="80" height="62" rx="6" fill="#E1F5EE" stroke="#1D9E75" stroke-width="0.5"/>
<text x="390" y="272" text-anchor="middle" font-size="12" fill="#085041">Cube</text>
<text x="390" y="287" text-anchor="middle" font-size="11" fill="#0F6E56">16x16x16/拍</text>
<rect x="170" y="318" width="120" height="38" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="230" y="333" text-anchor="middle" font-size="12" fill="#0C447C">L0C 256KB</text>
<text x="230" y="348" text-anchor="middle" font-size="11" fill="#185FA5">NZ · FP32累加</text>
<rect x="330" y="318" width="100" height="38" rx="6" fill="#E1F5EE" stroke="#1D9E75" stroke-width="0.5"/>
<text x="380" y="333" text-anchor="middle" font-size="12" fill="#085041">Fixpipe</text>
<text x="380" y="348" text-anchor="middle" font-size="11" fill="#0F6E56">量化/排布转换</text>
<rect x="450" y="240" width="62" height="76" rx="6" fill="#F1EFE8" stroke="#888780" stroke-width="0.5"/>
<text x="481" y="272" text-anchor="middle" font-size="11" fill="#444441">SSBuf</text>
<text x="481" y="287" text-anchor="middle" font-size="11" fill="#5F5E5A">核间通信</text>
<rect x="150" y="415" width="380" height="105" rx="8" fill="none" stroke="#B4B2A9" stroke-width="0.5"/>
<text x="170" y="435" font-size="12" font-weight="500" fill="#444441">AIVVector Core× 2 / 组,共 64</text>
<rect x="170" y="448" width="150" height="40" rx="6" fill="#E6F1FB" stroke="#378ADD" stroke-width="0.5"/>
<text x="245" y="464" text-anchor="middle" font-size="12" fill="#0C447C">Unified Buffer</text>
<text x="245" y="479" text-anchor="middle" font-size="11" fill="#185FA5">512KB / AIV</text>
<rect x="350" y="448" width="162" height="40" rx="6" fill="#E1F5EE" stroke="#1D9E75" stroke-width="0.5"/>
<text x="431" y="464" text-anchor="middle" font-size="12" fill="#085041">RegFile → Vector ALU</text>
<text x="431" y="479" text-anchor="middle" font-size="11" fill="#0F6E56">双发射 · 256B/拍</text>
<path d="M340 60 L340 85" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M300 125 L260 182" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<text x="232" y="150" font-size="11" fill="#5F5E5A">MTE2唯一入口</text>
<path d="M220 220 L210 248" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M270 220 L280 248" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<text x="300" y="236" font-size="11" fill="#5F5E5A">MTE1</text>
<path d="M242 266 L350 272" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M320 272 L350 276" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M370 310 L300 318" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M290 337 L330 337" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)"/>
<path d="M380 356 L380 400 L300 448" fill="none" stroke="#1D9E75" stroke-width="1.5" marker-end="url(#arrow)"/>
<text x="400" y="400" font-size="11" fill="#0F6E56">L0C→UB 随路量化</text>
<path d="M170 201 L132 201 L132 468 L170 468" fill="none" stroke="#1D9E75" stroke-width="1.5" marker-end="url(#arrow)" marker-start="url(#arrow)"/>
<text x="60" y="330" font-size="11" fill="#0F6E56">L1↔UB</text>
<text x="48" y="345" font-size="11" fill="#0F6E56">CV直连通道</text>
<path d="M512 468 L600 468 L600 40 L440 40" fill="none" stroke="#888780" stroke-width="1.5" marker-end="url(#arrow)" marker-start="url(#arrow)"/>
<text x="560" y="255" font-size="11" fill="#5F5E5A" text-anchor="middle">AIV 直访 GM</text>
<path d="M481 316 L481 400" fill="none" stroke="#888780" stroke-width="1" stroke-dasharray="3 3" marker-end="url(#arrow)"/>
<text x="490" y="365" font-size="11" fill="#5F5E5A">AIC↔AIV</text>
<text x="340" y="570" text-anchor="middle" font-size="11" fill="#5F5E5A">GM→L0A/L0B 直达通路在 351x 架构已删除,一切矩阵数据经 L1 进入</text>
</svg>