Skip to content

Commit

Permalink
Add documentation for HIP Graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
MKKnorr committed Sep 25, 2024
1 parent d261e49 commit 9a88896
Show file tree
Hide file tree
Showing 10 changed files with 922 additions and 226 deletions.
4 changes: 4 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ hardcoded
HC
HIP's
hipcc
hipDeviceSynchronize
hipexamine
hipified
hipother
Expand Down Expand Up @@ -72,6 +73,7 @@ ltrace
makefile
Malloc
malloc
memset
multicore
multigrid
multithreading
Expand All @@ -87,7 +89,9 @@ overindexing
oversubscription
pixelated
pragmas
preallocated
preconditioners
predefining
prefetched
preprocessor
PTX
Expand Down
76 changes: 76 additions & 0 deletions docs/data/how-to/hipgraph/hip_graph.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0" version="24.7.7">
<diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">
<mxGraphModel dx="1114" dy="694" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="1600" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="5536" value="" style="rounded=0;fillColor=#5e5b61;fontColor=#FFFFFF;strokeColor=none;spacing=0;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="340" y="10" width="280" height="520" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5821" value="" style="rounded=0;fillColor=#5e5b61;fontColor=#FFFFFF;strokeColor=none;spacing=0;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="10" y="10" width="280" height="520" as="geometry" />
</mxCell>
<mxCell id="5401" value="Stream 1" style="text;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;rounded=0;fontFamily=Segoe UI;fontSize=18;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry y="10" width="320" height="30" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5820" value="Kernel B" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="30" y="170" width="240" height="100" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5819" value="Stream 2" style="text;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;rounded=0;fontFamily=Segoe UI;fontSize=18;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="320" y="10" width="320" height="30" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5822" value="Kernel A" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="30" y="50" width="240" height="60" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5825" value="hipDeviceSynchronize" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="30" y="330" width="570" height="40" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5826" value="Kernel C" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="360" y="170" width="240" height="150" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5827" value="hipDeviceSynchronize" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="30" y="120" width="570" height="40" as="geometry" />
</mxCell>
<mxCell id="1Txoek2s6jAQB3cqoh21-5828" value="Kernel D" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#c13555;fontColor=#FFFFFF;strokeColor=none;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="30" y="380" width="240" height="140" as="geometry" />
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5818" value="&lt;font style=&quot;font-size: 18px;&quot; color=&quot;#ffffff&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;Kernel A&lt;/font&gt;&lt;br style=&quot;font-size: 18px;&quot;&gt;&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#c13555;strokeColor=default;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="840" y="10" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5819" value="&lt;font style=&quot;font-size: 18px;&quot; color=&quot;#ffffff&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;Kernel B&lt;/font&gt;&lt;br style=&quot;font-size: 18px;&quot;&gt;&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#c13555;strokeColor=default;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="680" y="210" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5820" value="&lt;font style=&quot;font-size: 18px;&quot; color=&quot;#ffffff&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;Kernel C&lt;/font&gt;&lt;br style=&quot;font-size: 18px;&quot;&gt;&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#c13555;strokeColor=default;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="1000" y="210" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5821" value="&lt;div style=&quot;font-size: 18px;&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot; color=&quot;#ffffff&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;Kernel D&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fillColor=#c13555;strokeColor=default;fontFamily=Segoe UI;fontSize=18;" parent="1" vertex="1">
<mxGeometry x="840" y="410" width="120" height="120" as="geometry" />
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5822" value="" style="endArrow=blockThin;html=1;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=1;exitDx=0;exitDy=0;strokeWidth=5;endFill=1;fontFamily=Segoe UI;fontSize=18;" parent="1" source="xSuKLjqbr4XYnemY5Hsx-5818" target="xSuKLjqbr4XYnemY5Hsx-5820" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="990" y="230" as="sourcePoint" />
<mxPoint x="1060" y="190" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5823" value="" style="endArrow=blockThin;html=1;rounded=0;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=1;exitDx=0;exitDy=0;strokeWidth=5;endFill=1;fontFamily=Segoe UI;fontSize=18;" parent="1" source="xSuKLjqbr4XYnemY5Hsx-5818" target="xSuKLjqbr4XYnemY5Hsx-5819" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="952" y="122" as="sourcePoint" />
<mxPoint x="1028" y="198" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5824" value="" style="endArrow=blockThin;html=1;rounded=0;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=1;exitDx=0;exitDy=0;strokeWidth=5;endFill=1;fontFamily=Segoe UI;fontSize=18;" parent="1" source="xSuKLjqbr4XYnemY5Hsx-5819" target="xSuKLjqbr4XYnemY5Hsx-5821" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="868" y="162" as="sourcePoint" />
<mxPoint x="792" y="238" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="xSuKLjqbr4XYnemY5Hsx-5825" value="" style="endArrow=blockThin;html=1;rounded=0;strokeWidth=5;endFill=1;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0;exitY=1;exitDx=0;exitDy=0;fontFamily=Segoe UI;fontSize=18;" parent="1" source="xSuKLjqbr4XYnemY5Hsx-5820" target="xSuKLjqbr4XYnemY5Hsx-5821" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1088.57" y="370" as="sourcePoint" />
<mxPoint x="1000" y="420" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
4 changes: 4 additions & 0 deletions docs/data/how-to/hipgraph/hip_graph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9a88896

Please sign in to comment.