Update HIP definition (#2134)
* Update what is hip * Update HIP runtime page * Update images * Remove omnitrace * Quick fix * Feedback fixes * Minor fixes * Update SAXPY tutorial Signed-off-by: Jan Stephan <jan.stephan@amd.com> --------- Signed-off-by: Jan Stephan <jan.stephan@amd.com> Co-authored-by: Adel Johar <adel.johar@amd.com> Co-authored-by: Jan Stephan <jan.stephan@amd.com>
Esse commit está contido em:
8 files changed
+152
-515
No files matched your search
@@ -1,125 +1,71 @@
|
||||
<mxfile host="65bd71144e">
|
||||
<diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">
|
||||
<mxGraphModel dx="1584" dy="1200" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="660" pageHeight="610" background="none" math="0" shadow="0">
|
||||
<mxGraphModel dx="1438" dy="1349" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="660" pageHeight="610" background="none" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="5927" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#5E5B61;fontColor=#FFFFFF;strokeColor=none;spacing=0;" parent="1" vertex="1">
|
||||
<mxGeometry y="-30" width="680" height="380" as="geometry"/>
|
||||
<mxCell id="5927" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#342C3B;fontColor=#FFFFFF;strokeColor=none;spacing=0;arcSize=6;glass=0;shadow=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="-70" width="460" height="470" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5945" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;fontColor=#FFFFFF;strokeColor=#A20025;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="-10" width="660" height="30" as="geometry"/>
|
||||
<mxCell id="5945" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#272130;" parent="1" vertex="1">
|
||||
<mxGeometry x="340" y="-10" width="340" height="50" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5946" value="<font face="Helvetica">HIP Runtime API</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="75" y="-10" width="530" height="30" as="geometry"/>
|
||||
<mxCell id="5946" value="<font style="color: rgb(255, 255, 255);" face="Helvetica">HIP Runtime API</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="360" y="-10" width="300" height="50" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5953" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="10" y="80" width="330" height="260" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5925" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#333333;fontColor=#FFFFFF;strokeColor=none;" parent="UvHuP5o6jSuoLTm0AUZA-5953" vertex="1">
|
||||
<mxGeometry width="330" height="260" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5952" value="" style="group" parent="UvHuP5o6jSuoLTm0AUZA-5953" vertex="1" connectable="0">
|
||||
<mxGeometry x="16.67" y="190.00279999999998" width="293.33" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5950" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="UvHuP5o6jSuoLTm0AUZA-5952" vertex="1">
|
||||
<mxGeometry width="293.33000000000004" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5951" value="<div>CUDA Driver API</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="UvHuP5o6jSuoLTm0AUZA-5952" vertex="1">
|
||||
<mxGeometry x="10.9643478387712" y="7.500000000000001" width="266.79913074343256" height="30.000000000000004" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5948" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.358;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#FFFFFF;" parent="UvHuP5o6jSuoLTm0AUZA-5953" source="5967" target="UvHuP5o6jSuoLTm0AUZA-5950" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="103.33500000000004" y="108.22000000000003" as="sourcePoint"/>
|
||||
<mxPoint x="85" y="145.6" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5966" value="" style="group" parent="UvHuP5o6jSuoLTm0AUZA-5953" vertex="1" connectable="0">
|
||||
<mxGeometry x="16.670000000000016" y="64" width="210" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5967" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="5966" vertex="1">
|
||||
<mxGeometry width="210.00000000000003" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5968" value="<div>CUDA runtime</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5966" vertex="1">
|
||||
<mxGeometry x="9.499565493273565" y="7.499999999999974" width="191.0060936696582" height="29.999999999999996" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5982" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;" parent="1" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="270" y="60" as="sourcePoint"/>
|
||||
<mxPoint x="270" y="270" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5955" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#333333;fontColor=#FFFFFF;strokeColor=none;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="80" width="320" height="260" as="geometry"/>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5955" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;verticalAlign=top;strokeColor=#ff2424;fillColor=#781414;fontColor=#F0F0F0;arcSize=6;" parent="1" vertex="1">
|
||||
<mxGeometry x="340" y="80" width="340" height="260" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5955" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="360" y="270" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5956" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;fontColor=#FFFFFF;strokeColor=#A20025;" parent="5955" vertex="1">
|
||||
<mxCell id="5956" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#431111;fontColor=#FFFFFF;strokeColor=#FF2424;glass=0;" parent="5955" vertex="1">
|
||||
<mxGeometry width="140.00000000000003" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5957" value="<div>ROCr runtime</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5955" vertex="1">
|
||||
<mxCell id="5957" value="<div><font style="color: rgb(255, 255, 255);">ROCr runtime</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5955" vertex="1">
|
||||
<mxGeometry x="2.51" y="8.75" width="134.99" height="27.5" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5958" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="520" y="270" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5959" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;fontColor=#FFFFFF;strokeColor=#A20025;" parent="5958" vertex="1">
|
||||
<mxCell id="5959" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#431111;fontColor=#FFFFFF;strokeColor=#FF2424;glass=0;" parent="5958" vertex="1">
|
||||
<mxGeometry width="140.00000000000003" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5960" value="<div>PAL</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5958" vertex="1">
|
||||
<mxCell id="5960" value="<div><font style="color: rgb(255, 255, 255);">PAL</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5958" vertex="1">
|
||||
<mxGeometry x="5.233043662182416" y="7.499999999999999" width="127.33739577977217" height="29.999999999999996" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5962" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="405" y="144.91" width="210" height="45" as="geometry"/>
|
||||
<mxGeometry x="420" y="172.91" width="240" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5963" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;fontColor=#FFFFFF;strokeColor=#A20025;" parent="5962" vertex="1">
|
||||
<mxGeometry width="210.00000000000003" height="45" as="geometry"/>
|
||||
<mxCell id="5963" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#431111;fontColor=#FFFFFF;strokeColor=#FF2424;glass=0;" parent="5962" vertex="1">
|
||||
<mxGeometry x="-60" width="300" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5964" value="<div>CLR</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5962" vertex="1">
|
||||
<mxGeometry x="7.849565493273624" y="7.499999999999999" width="191.0060936696582" height="29.999999999999996" as="geometry"/>
|
||||
<mxCell id="5964" value="<div><font style="color: rgb(255, 255, 255);">CLR</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5962" vertex="1">
|
||||
<mxGeometry x="0.228591563677206" y="7.499999999999999" width="179.5457280494787" height="29.999999999999996" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5965" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFFFFF;exitX=0.823;exitY=1.047;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" target="5963" edge="1" source="5946">
|
||||
<mxCell id="5965" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFFFFF;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="5946" target="5963" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="510" y="60" as="sourcePoint"/>
|
||||
<mxPoint x="640" y="290" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5969" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;" parent="1" edge="1">
|
||||
<mxCell id="5969" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;strokeColor=#FFFFFF;exitX=0.762;exitY=1.014;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.545;entryY=0.027;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="5963" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="570" y="190" as="sourcePoint"/>
|
||||
<mxPoint x="570" y="270" as="targetPoint"/>
|
||||
<mxPoint x="588.5" y="217.41499999999996" as="sourcePoint"/>
|
||||
<mxPoint x="589.3" y="271.2149999999999" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5971" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;entryX=0.661;entryY=0.007;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" target="5956" edge="1">
|
||||
<mxCell id="5971" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;strokeColor=#FFFFFF;entryX=0.487;entryY=0.014;entryDx=0;entryDy=0;exitX=0.228;exitY=1.003;exitDx=0;exitDy=0;exitPerimeter=0;entryPerimeter=0;" parent="1" source="5963" target="5956" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="453" y="190" as="sourcePoint"/>
|
||||
<mxPoint x="453" y="220" as="sourcePoint"/>
|
||||
<mxPoint x="450" y="270" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5981" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFFFFF;" parent="1" target="5967" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="132" y="60" as="sourcePoint"/>
|
||||
<mxPoint x="95" y="140" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
<mxCell id="5972" value="" style="whiteSpace=wrap;html=1;strokeColor=none;fillColor=light-dark(#FFFFFF,#EDEDED);rounded=1;arcSize=27;" parent="1" vertex="1">
|
||||
<mxGeometry x="450" y="113" width="120" height="24" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5957" value="<font face="Helvetica"><span style="background-color: rgb(77, 77, 77);">AMD Platform</span><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="440" y="84" width="140" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5926" value="<font style="background-color: rgb(77, 77, 77);">NVIDIA Platform</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="10" y="80" width="330" height="34.0392" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5973" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;fontColor=#FFFFFF;strokeColor=#A20025;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="40" width="330" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5975" value="<font face="Helvetica">hipother</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" vertex="1" parent="1">
|
||||
<mxGeometry x="10" y="40" width="330" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5976" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;exitX=0.823;exitY=1.047;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="175.59000000000003" y="20.00000000000008" as="sourcePoint"/>
|
||||
<mxPoint x="176" y="40" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
<mxCell id="UvHuP5o6jSuoLTm0AUZA-5957" value="<font face="Helvetica"><span><font style="color: rgb(197, 38, 38);">&nbsp;AMD Platform&nbsp;</font></span><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="440" y="110" width="140" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="681px" height="381px" viewBox="-0.5 -0.5 681 381" content="<mxfile><diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">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</diagram></mxfile>"><defs/><g><rect x="0" y="0" width="680" height="380" fill="#5e5b61" stroke="none" pointer-events="all"/><rect x="10" y="20" width="660" height="30" fill="#c23555" stroke="#a20025" pointer-events="all"/><rect x="75" y="20" width="530" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 528px; height: 1px; padding-top: 35px; margin-left: 76px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><font face="Helvetica">HIP Runtime API</font></div></div></div></foreignObject><text x="340" y="40" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">HIP Runtime API</text></switch></g><rect x="10" y="110" width="330" height="260" fill="#333333" stroke="none" pointer-events="none"/><rect x="26.67" y="300" width="293.33" height="45" fill="#60a917" stroke="#2d7600" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 265px; height: 1px; padding-top: 323px; margin-left: 39px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><div>CUDA Driver API</div></div></div></div></foreignObject><text x="171" y="328" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">CUDA Driver API</text></switch></g><path d="M 131.67 219 L 131.68 291.77" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 131.68 297.77 L 127.68 289.77 L 131.68 291.77 L 135.68 289.77 Z" fill="#ffffff" stroke="#ffffff" stLine truncated
|
||||
</text></switch></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 328px; height: 1px; padding-top: 127px; margin-left: 11px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><font style="background-color: rgb(77, 77, 77);">NVIDIA Platform</font></div></div></div></foreignObject><text x="175" y="132" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">NVIDIA Platform</text></switch></g><rect x="10" y="70" width="330" height="30" fill="#c23555" stroke="#a20025" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 328px; height: 1px; padding-top: 85px; margin-left: 11px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><font face="Helvetica">hipother</font></div></div></div></foreignObject><text x="175" y="90" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">hipother</text></switch></g><path d="M 175.59 50 L 175.83 61.77" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 175.95 67.76 L 171.79 59.85 L 175.83 61.77 L 179.79 59.68 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="460px" height="470px" viewBox="-0.5 -0.5 460 470" content="<mxfile><diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">7VpdU+M2FP01mdl9wGN9WLIfQ4BlZ9hpBrptt28iFomLY6WKE6C/vpItxZbtEAPJhu02mSHW1fc9R0dXMgM0mj9+kmwx+yJing6gHz8O0NkAwpAi9VcbnkoDAISUlqlMYmOrDDfJP9wYfWNdJTFfOgVzIdI8WbjGicgyPskdG5NSPLjF7kTq9rpgU9OjXxluJizlrWK/J3E+K62E1Epf8mQ6Mz0TO+5bNrmfSrHKTHeZyHiZM2e2FVN0OWOxeKiZ0PkAjaQQefk0fxzxVHvVOqysd7EldzNiybO8T4UggrSss2bpyszbDC1/so4o5sJ1FTBApw+zJOc3CzbRuQ8KemWb5fPUZN8laToSqZBFXYQwHKFTbRdZXrNfFB9lX+ZS3HObU/hKGVXzSTZVBl+lmJwYdhCVmqZsuTQ5G//pRHvyxh9rLnP+WDMZZ3ziYs5z+aSKmFwYGmAMZ0+oST9UBMCWALMa+NgWZIZ0003blfvVg0FgGxo42I3GLv8rPxtvAWLSF2yepHpKv3EZs4wps4upC4KC5+4OYogNnDem86VI9VBbUPr624YeUgjQnoBBuAEMaAOzKVMHJtgPLqQDF5LmxhkOQOTvlV6+p5PSE0OVKae3H2CgsFVd+fWHj4V3bA0tUiWsle2Sp2ueJxNWL0amRdbnsapxvcryZK4Exh+OP9tBqRmV4ypLtjikvJ67tOlchnVAjYmlyTRTyYnCkiv7qcZQDS8dmox5Ese6m06dqFjnN6hKn5GIffCH9OCPfyD+fF1frsaBIH/drMTVr3N/+PXP4UkQBUda7E3EcrHYKQE1Ow0BBvgZGXDl+gCLP+y59iHZy+Lvg5Pe7xf9p7oJWtitbcF/3gUN/sKOjQl0+cDuKG90QZf+7TFKwAioT+8oocgx7KyHA20AaujtppvrS8+vf9DBXNsVgJUqHifrSsEPsNuUTV//MpK6lt1HtuwgG7Mzqv/YvvIiutiY0QuAK08eDdqLE2Evijo0inr7oVF4fJEK4HFFKvpxRSrcgsE7ESm7+xxNpMbDq59emfpzxK5HT52/fYwIgSCEGBBndVIPR86nvVZVGYQoUnsUjag6zdEO/Yo8txWyF77B46sZbqgZoNCLQMtJ8HCCRtAPK2gbAHuT9YT0PJHtybf4yIo2urr+2RXt5STxPRVeBREICCJKkPwXKxqNvAAHVB0hcYRp+P0ErccZkmfxUF9ba2T08komBaZM5tZs8KtB7oJREsBeVgNb/SLRIytKKO/Lpz90QoWdJvmtnnf26KSenJa7gOWPSV5rUKW+mb71c9WcTtjWtqr2UqykuQCr3bqpOUx5xRqjijy21/e7I6XgmZsdyVOWJ2v30r8LbdPDWCSFGNhNFrjbRPPOoZySqVRRptUOaVxywKjRUOmFVkMF9zaz7kvHHqHy96BjH1pRJRM1Ynl+cfm0nVw6MeZSnWULcWvRHrvE93xId5C/SDWb7Mnh98bWMLTnTcszoGQT4K1615e/QRh5yG2ZAg/WWz4cnyl493yuGIhD2mBgyejnGLhZDWr/c1eDOvS9ajW8kc+uJtv7wXfCchw0mAhfKco42HKjcRAS9zj07Ajwd0aAqfb1Sczk/YeKnTpQRedn+vtx0HxbUN3mFzq5lSb9g7imUwFA7UANdrAD4reHYtvexWy/hTWx/0vezNmqywXLXnuUABEtTxAotL/dBwn1y+aaB9ntUv8Mv6hG/bFaQHdCzpu5u88cXYO+lR0F/3/D6LAaN1nd8/ITvfwllUpW/yNSak31Lzjo/F8=</diagram></mxfile>"><defs/><g><g><rect x="0" y="0" width="460" height="470" rx="27.6" ry="27.6" fill="#342c3b" stroke="none" pointer-events="all" style="fill: light-dark(rgb(52, 44, 59), rgb(201, 194, 207));"/></g><g><rect x="60" y="60" width="340" height="50" rx="7.5" ry="7.5" fill="#272130" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(39, 33, 48), rgb(210, 205, 218)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="80" y="60" width="300" height="50" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 298px; height: 1px; padding-top: 85px; margin-left: 81px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #FFFFFF; "><div style="display: inline-block; font-size: 17px; font-family: "Helvetica"; color: light-dark(#FFFFFF, #121212); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><font face="Helvetica" style="color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));">HIP Runtime API</font></div></div></div></foreignObject><text x="230" y="90" fill="#FFFFFF" font-family=""Helvetica"" font-size="17px" text-anchor="middle">HIP Runtime API</text></switch></g></g><g><rect x="60" y="150" width="340" height="260" rx="15.6" ry="15.6" fill="#781414" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(120, 20, 20), rgb(255, 183, 183)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g/><g><rect x="80" y="340" width="140" height="45" rx="6.75" ry="6.75" fill="#431111" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(67, 17, 17), rgb(248, 205, 205)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="82.51" y="348.75" width="134.99" height="27.5" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 133px; height: 1px; padding-top: 363px; margin-left: 84px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #FFFFFF; "><div style="display: inline-block; font-size: 17px; font-family: "Helvetica"; color: light-dark(#FFFFFF, #121212); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div><foLine truncated
|
||||
</text></switch></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
|
||||
|
Antes Largura: | Altura: | Tamanho: 14 KiB Depois Largura: | Altura: | Tamanho: 11 KiB |
@@ -1,155 +1,105 @@
|
||||
<mxfile host="65bd71144e">
|
||||
<diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">
|
||||
<mxGraphModel dx="1547" dy="1302" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="660" pageHeight="610" background="none" math="0" shadow="0">
|
||||
<mxGraphModel dx="1726" dy="1539" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="660" pageHeight="610" background="none" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="6033" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#5E5B61;fontColor=#FFFFFF;strokeColor=none;spacing=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="110" y="-320" width="480" height="490" as="geometry"/>
|
||||
<mxCell id="6033" value="" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#342C3B;fontColor=#FFFFFF;strokeColor=none;spacing=0;arcSize=6;" parent="1" vertex="1">
|
||||
<mxGeometry x="160" y="-340" width="560" height="560" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5981" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="130" y="60" width="210" height="90" as="geometry"/>
|
||||
<mxCell id="5988" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#272130;" parent="1" vertex="1">
|
||||
<mxGeometry x="200" y="-23" width="480" height="63" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5982" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#333333;fontColor=#FFFFFF;strokeColor=none;" parent="5981" vertex="1">
|
||||
<mxGeometry width="210" height="90" as="geometry"/>
|
||||
<mxCell id="5989" value="<font face="Helvetica" style="font-size: 14px; color: rgb(255, 255, 255);">HIP</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;strokeWidth=2;fontStyle=1" parent="1" vertex="1">
|
||||
<mxGeometry x="284" y="-3" width="320" height="20" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5983" value="" style="group" parent="5981" vertex="1" connectable="0">
|
||||
<mxGeometry x="7.7419872652362365" y="8" width="192.50000000000003" height="45" as="geometry"/>
|
||||
<mxCell id="5990" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;verticalAlign=top;strokeColor=#ff2424;fillColor=#8F1414;fontColor=#F0F0F0;" parent="1" vertex="1">
|
||||
<mxGeometry x="200" y="68" width="480" height="110" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5984" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="5983" vertex="1">
|
||||
<mxGeometry y="2" width="192.50000000000003" height="45" as="geometry"/>
|
||||
<mxCell id="5991" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#431111;" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="220" y="78" width="450" height="50" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5985" value="<div>NVIDIA runtime</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5983" vertex="1">
|
||||
<mxGeometry x="11.998194444444442" y="13.01" width="168.50166666666664" height="18.99" as="geometry"/>
|
||||
<mxCell id="5992" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#431111;" parent="5991" vertex="1">
|
||||
<mxGeometry x="-9.57" width="459.57" height="50" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5986" value="<font style="">NVIDIA Platform</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5981" vertex="1">
|
||||
<mxGeometry x="40" y="63" width="130" height="20" as="geometry"/>
|
||||
<mxCell id="5993" value="<div><font style="color: rgb(255, 255, 255);">AMD runtime</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#ffffff;" parent="5991" vertex="1">
|
||||
<mxGeometry x="76.12249594696678" y="11.7042" width="288.1851063829787" height="27.997199999999992" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5987" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;" parent="1" edge="1">
|
||||
<mxCell id="5994" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="5988" target="5992" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="315" y="45" as="sourcePoint"/>
|
||||
<mxPoint x="315" y="70" as="targetPoint"/>
|
||||
<mxPoint x="456" y="38" as="sourcePoint"/>
|
||||
<mxPoint x="470" y="64" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5988" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#9C2A44;fontColor=#FFFFFF;strokeColor=#4c1523;strokeWidth=5;" parent="1" vertex="1">
|
||||
<mxGeometry x="300" y="-17" width="260" height="60" as="geometry"/>
|
||||
<mxCell id="5995" value="<font face="Helvetica"><font style="color: rgb(255, 255, 255);">AMD Platform</font><br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;fontStyle=1" parent="1" vertex="1">
|
||||
<mxGeometry x="290" y="143" width="300" height="20" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5989" value="<font style="font-size: 14px;" face="Helvetica">HIP</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;strokeWidth=2;" parent="1" vertex="1">
|
||||
<mxGeometry x="300" y="-17" width="260" height="20" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5990" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#333333;fontColor=#FFFFFF;strokeColor=none;" parent="1" vertex="1">
|
||||
<mxGeometry x="350" y="60" width="210" height="90" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5991" value="" style="group;fillColor=#A50040;fontColor=#ffffff;strokeColor=none;" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="360" y="70" width="192" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5992" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#962744;fontColor=#FFFFFF;strokeColor=none;" parent="5991" vertex="1">
|
||||
<mxGeometry width="192.00000000000003" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5993" value="<div>AMD runtime</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#ffffff;" parent="5991" vertex="1">
|
||||
<mxGeometry x="8.638736842105262" y="7.497" width="174.72" height="29.996999999999993" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="5994" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" target="5992" edge="1">
|
||||
<mxCell id="6003" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;strokeColor=#FFFFFF;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.229;entryY=0.02;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="6005" target="5988" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="456" y="44" as="sourcePoint"/>
|
||||
<mxPoint x="470" y="70" as="targetPoint"/>
|
||||
<mxPoint x="309.5" y="-110" as="sourcePoint"/>
|
||||
<mxPoint x="310" y="-26" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5995" value="<font face="Helvetica">AMD Platform<br></font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="365" y="123" width="180" height="20" as="geometry"/>
|
||||
<mxCell id="6004" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#272130;" parent="1" vertex="1">
|
||||
<mxGeometry x="200" y="-167" width="220" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6003" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.855;entryY=-0.018;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" target="6000" edge="1">
|
||||
<mxCell id="6005" value="<font style="color: rgb(255, 255, 255);" face="Helvetica">hipLibrary</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#ffffff;dashed=1;strokeWidth=2;" parent="1" vertex="1">
|
||||
<mxGeometry x="240" y="-167" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6007" value="" style="group;dashed=1;strokeWidth=2;strokeColor=none;shadow=0;" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="325" y="-95" width="230" height="50" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6008" value="" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;verticalAlign=top;strokeColor=#ff2424;fillColor=#8F1414;fontColor=#F0F0F0;" parent="6007" vertex="1">
|
||||
<mxGeometry width="230" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6009" value="<div><font style="color: rgb(255, 255, 255);">rocLibrary</font></div>" style="whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;rounded=1;strokeColor=#ff2424;fillStyle=solid;fontColor=#F0F0F0;fillColor=#272130;" parent="6007" vertex="1">
|
||||
<mxGeometry width="230" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6010" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=1;startFill=0;strokeColor=#FFFFFF;exitX=0.986;exitY=1;exitDx=0;exitDy=0;entryX=0.234;entryY=0.021;entryDx=0;entryDy=0;entryPerimeter=0;exitPerimeter=0;" parent="1" source="6005" target="6009" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="309.5" y="-104" as="sourcePoint"/>
|
||||
<mxPoint x="309.55999999999995" y="-60.975106382978765" as="targetPoint"/>
|
||||
<mxPoint x="386" y="-111" as="sourcePoint"/>
|
||||
<mxPoint x="370" y="-86" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6004" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#9C2A44;fontColor=#FFFFFF;strokeColor=none;" parent="1" vertex="1">
|
||||
<mxGeometry x="274.5" y="-150" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6005" value="<font face="Helvetica">hipLibrary</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#ffffff;dashed=1;strokeWidth=2;" parent="1" vertex="1">
|
||||
<mxGeometry x="274.5" y="-150" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6007" value="" style="group;dashed=1;strokeWidth=2;strokeColor=none;" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="360" y="-80" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6008" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#962744;fontColor=#FFFFFF;strokeColor=none;dashed=1;strokeWidth=2;" parent="6007" vertex="1">
|
||||
<mxGeometry width="140.00000000000003" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6009" value="<div>rocLibrary</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="6007" vertex="1">
|
||||
<mxGeometry x="6.299078947368418" y="7.497" width="127.39999999999998" height="29.996999999999993" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6010" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;strokeWidth=2;startFill=0;strokeColor=#FFFFFF;" parent="1" edge="1">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="386" y="-105" as="sourcePoint"/>
|
||||
<mxPoint x="386" y="-80" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="5999" value="" style="group" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="190" y="-80" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6000" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#60a917;fontColor=#ffffff;strokeColor=#2D7600;" parent="5999" vertex="1">
|
||||
<mxGeometry y="-0.005106382978723234" width="140" height="45" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6001" value="<div>cuLibrary</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="5999" vertex="1">
|
||||
<mxGeometry x="10.019288676236041" y="13.404255319148938" width="119.9667368421052" height="18.18191489361702" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6013" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" target="5984" edge="1">
|
||||
<mxCell id="6014" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeWidth=2;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="6009" target="5988" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="234" y="-35" as="sourcePoint"/>
|
||||
<mxPoint x="220" y="60" as="targetPoint"/>
|
||||
<mxPoint x="430" y="-25" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6014" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeWidth=2;strokeColor=#FFFFFF;" parent="1" source="6008" edge="1">
|
||||
<mxCell id="6025" value="" style="group;strokeColor=none;dashed=1;strokeWidth=2;fontStyle=1" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="200" y="-260" width="480" height="65" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6023" value="" style="rounded=1;whiteSpace=wrap;html=1;fontSize=16;fontFamily=Verdana;fillStyle=solid;fontColor=#F0F0F0;fillColor=#272130;strokeColor=#F0F0F0;" parent="6025" vertex="1">
|
||||
<mxGeometry width="480.00000000000006" height="65" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6024" value="<div><font style="color: rgb(255, 255, 255);">Application Implementation</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;fontStyle=1" parent="6025" vertex="1">
|
||||
<mxGeometry x="120" y="28.561" width="240" height="7.878" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6029" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=1;exitX=0.23;exitY=1.004;exitDx=0;exitDy=0;strokeColor=#FFFFFF;exitPerimeter=0;" parent="1" source="6023" target="6005" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="430" y="-19" as="targetPoint"/>
|
||||
<mxPoint x="320" y="-196" as="sourcePoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6025" value="" style="group;strokeColor=none;dashed=1;strokeWidth=2;" parent="1" vertex="1" connectable="0">
|
||||
<mxGeometry x="129.5" y="-290" width="430" height="100" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6023" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#333333;fontColor=#FFFFFF;strokeColor=none;spacing=0;" parent="6025" vertex="1">
|
||||
<mxGeometry width="430" height="100" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6024" value="<div>Application Implementation</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="6025" vertex="1">
|
||||
<mxGeometry x="97.50999999999999" y="43.93999999999998" width="234.99" height="12.120000000000001" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6026" style="edgeStyle=none;html=1;entryX=0.148;entryY=0.008;entryDx=0;entryDy=0;strokeWidth=2;entryPerimeter=0;strokeColor=#FFFFFF;" parent="1" target="5984" edge="1">
|
||||
<mxCell id="6030" style="edgeStyle=none;html=1;strokeWidth=1;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="1" source="6023" target="6009" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="166" y="-190" as="sourcePoint"/>
|
||||
<mxPoint x="159.99598908448831" y="-94.12" as="targetPoint"/>
|
||||
<mxPoint x="452" y="-86" as="targetPoint"/>
|
||||
<mxPoint x="455" y="-196" as="sourcePoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6027" style="edgeStyle=none;html=1;strokeWidth=2;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeColor=#FFFFFF;" parent="1" edge="1">
|
||||
<mxCell id="6031" style="edgeStyle=none;html=1;strokeWidth=1;strokeColor=#FFFFFF;entryX=0.775;entryY=-0.013;entryDx=0;entryDy=0;exitX=0.773;exitY=1.002;exitDx=0;exitDy=0;exitPerimeter=0;entryPerimeter=0;" parent="1" source="6023" target="5988" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="260" y="-190" as="sourcePoint"/>
|
||||
<mxPoint x="260" y="-80.00510638297874" as="targetPoint"/>
|
||||
<mxPoint x="520" y="-25" as="targetPoint"/>
|
||||
<mxPoint x="560" y="-190" as="sourcePoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6029" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#FFFFFF;" parent="1" source="6023" target="6005" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="320" y="-190" as="sourcePoint"/>
|
||||
</mxGeometry>
|
||||
<mxCell id="6034" value="<div><font style="color: rgb(112, 95, 127);">Application</font></div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=25;fontColor=#FFFFFF;fontStyle=1" parent="1" vertex="1">
|
||||
<mxGeometry x="327.5" y="-299" width="234.99" height="12.120000000000001" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6030" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#FFFFFF;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" target="6008" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="452" y="-80" as="targetPoint"/>
|
||||
<mxPoint x="430" y="-190" as="sourcePoint"/>
|
||||
</mxGeometry>
|
||||
<mxCell id="6035" value="runtime API" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#431111;fontColor=#FFFFFF;strokeColor=#FF2424;glass=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="252" y="-11" width="115" height="37" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6031" style="edgeStyle=none;html=1;exitX=0.912;exitY=1.013;exitDx=0;exitDy=0;strokeWidth=2;exitPerimeter=0;strokeColor=#FFFFFF;" parent="1" source="6023" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="520" y="-19" as="targetPoint"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="6034" value="<div>Application</div>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=17;fontColor=#FFFFFF;" parent="1" vertex="1">
|
||||
<mxGeometry x="232.5" y="-310" width="234.99" height="12.120000000000001" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6035" value="runtime API" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#4F1623;fontColor=#FFFFFF;strokeColor=none;" parent="1" vertex="1">
|
||||
<mxGeometry x="310" y="3" width="115" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="6036" value="kernel language" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#4F1623;fontColor=#FFFFFF;strokeColor=none;" parent="1" vertex="1">
|
||||
<mxGeometry x="437" y="3" width="115" height="30" as="geometry"/>
|
||||
<mxCell id="6036" value="kernel language" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#431111;fontColor=#FFFFFF;strokeColor=#FF2424;" parent="1" vertex="1">
|
||||
<mxGeometry x="517" y="-11" width="115" height="37" as="geometry"/>
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="481px" height="491px" viewBox="-0.5 -0.5 481 491" content="<mxfile><diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">7Vxtb6M4EP41+VjkN4z9sS/b3Uq3p0qV7uUjTdwELQk5Qtr0fv3ZYMDGpIEUkm730EoLY2PwPOOZeQY3E3y93H1Nw/XiezIT8QSB2W6CbyYIQZ8E8j8ledUSDFAhmafRTMtqwUP0r9BCoKXbaCY2VscsSeIsWtvCabJaiWlmycI0TV7sbk9JbD91Hc71E0EteJiGsXC6/RnNskUhpdTo/U1E84V+Mi3f+zGc/pinyXalH7dKVqJoWYblKLrrZhHOkhdDhL9M8HWaJFlxttxdi1iptVRYcd/tntbqjVOxyrrcQAHGxT3PYbzV89avlr2WisjnItQtYIKvXhZRJh7W4VS1vkjspWyRLWN5BeXpUxTH10mcpPm92P/iX9FcnqwyQ36bH1K+ydLkhyhbcl1JoRw+Ws31E91Z6Yk+izQTO0OkZ/lVJEuRpa+yS9lagqON8QKXELzU0BKmZQsDVsK1MNTmNK8GrxUrT7Ru2/XscwYP61kZzbr7ZCvLDx9j0bShViVgWwnUVUG1+EwVDKQBNK6lFUdfS3PVbWB12LxOpLoOi3SP8bwxm972E3gBgZwFiPoIU/nPt8yJOdYEOfJ8YBy4ZX35g2iIjGtcFIQcBq5xPeWHY1yyBd0EFLR7LwPQwxamlYvOqVy/Rbk0ls+4mkXP8nSuTn//4+7m7lJ2S7erLFqKsosc3+jloCLnn9mqb12nJh5aFMbRfCUvp1KxQsqvlDYjGb8vdcMyms3UY1qxtq1BwaozkDaYKx/yTjCraORxuS45KQ9kLSSIPQBdvCmTeENaHcTFGzI58CCQ072QK9VYENJ/tkkBrXFmm8R9HGZPSbo0bKIY5vMaRe8UhTSCM3YtALdEGDRMhAkO+0+xml2qtFppNw43m2ia4xKmWSnWGBiw2QotQCyTaVTefhupNzN6dFOy1rCYlWn84RjttyiwlKVCGmn0bCf/bVrVT7hPonwhaPgwtKNh0/Vukm06FfomMyU/ME7QwFcqbC4yZ5wc4mrSXVFn40ZNfo0uCemckskWMoUyt3BMxR+GBWDQYAEwcBZZlRWbNkKHWWS8v1NVDReb3AkpRwrJetdwteCpQKOWfRPxs1BOz/XI3+7uP6cPdl3LOe1lGKdckoePzpj669U/JxHlnam4o7FLmXAT4GpsDw3orbHelAxTW5OBq0nJE1xNDkMMypFHix8UBT3ixxuUnh9F6RXFAiehWLyN4TsU6/L7zefkV9X6eSd2upV5FLMAU0akG/ERtelV4BHu+nEYEC9oWSmIS0pFeX3gQfDuUK84b74tAUhf/1LdPL+8/FvflV/c7Kyr18mBYm2RuDZdxwfJ3olPLRshxB6ha/ZOgnZ/PEb2zveXZXQ62SczLHxLk6g/prVj+Yxp4xDJTKMMClELc2/7sjBEkkirmPSBPckuygpHgnx9+bd+iDqv/Yi6KN2I4X6YbzmgC+AByA54ofzqXqQyTua21N01SY2CD+WaMOCebWEXEBzpnvKxfCOYNQamwOOBD4EMn4gHLKCN5GY49yXVPHLJvmfxYTh2I3NWBzC/JS8nLTYzRDYpVTtoZFhE69+ixzRUb/GJYkCVc87CzSK/qX7RgesIH8AiOtR3S857QB/nprgX7LSaG7tGehTH7W2zhgn0o8AEnIQCy/fbXx01+G2aTF1n9NPz3zfy0V7A6VbqIc5BwDjJSTBk1gLaw3+lHBuZAWcu0GNwYQpghzLn/9+e3kwRmc1eZYJ47Nen5khsTALbtuJbg9J40QXy80aXkUv8A+9bqRDrvG9FsTVgMAr5AExOquG2ar8TVqbbXyuq9IKybFXEmyPGaKA2fwECrZUDsUcAQb6PIYeEcdyyHwzKAEJpXZl1QYfMg0wPQGFQbhl+Z4TBbkCRnvtBX7qh41DWe8JCabmz7WCoeWcMqZZltUP2yBBS1bUaH/fGqCFA0hPYuhbVvRTVxxj2glpor3JK7DSgksaO3wvIxwMDtVUd9nDMYUjNcFkAcmps1cdmc4N42wYsCAap46KRN+If97H/0EZ8A/VetHJUTbYVFt1vqet1LMNuFiUr2fduuY7FUk5LC36JJKAXeLqVB54PTJporRqCPY5dDmnu68Ck2qJqYY88iMw6wxu+rocp0L7xoQ7mMgWxwrmnvPbbId31Wa3fIY4IH+fJCSBt8srmDpyuSQH0VelAbYEDjBDGsJ07XnAi4R8xNAU97WAPkkekeWNUFd6b6jUrqkfD6ozEGnSPjIgpP35tH4GgZQtHZ5HvyBnLBKHxsdI/jc1gdKTNHIVtmR38fITthLl9SZ97luq6kIQxoYU9oa0XG4fIXG6e4vX9iJtqHiAaty/MsQH33SU4nnfF/ZPoXyJn7v/tF6MmtcTQpZanzYuxS9WrXaXg8v7Oge09zJPcQorOss288UffLfuyyj+2MVWOB2Gh2P0Luh8iXeU/khCHq/lW/frAp1AzwcGJ1Cwv699GKNxa/dsT+Mt/</diagram></mxfile>"><defs/><g><rect x="0" y="0" width="480" height="490" fill="#5e5b61" stroke="none" pointer-events="all"/><rect x="20" y="380" width="210" height="90" fill="#333333" stroke="none" pointer-events="none"/><rect x="27.74" y="390" width="192.5" height="45" fill="#60a917" stroke="#2d7600" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 167px; height: 1px; padding-top: 411px; margin-left: 41px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><div>NVIDIA runtime</div></div></div></div></foreignObject><text x="124" y="416" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">NVIDIA runtime</text></switch></g><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 128px; height: 1px; padding-top: 453px; margin-left: 61px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><font style="">NVIDIA Platform</font></div></div></div></foreignObject><text x="125" y="458" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">NVIDIA Platform</text></switch></g><path d="M 205 365 L 205 381.76" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointeLine truncated
|
||||
</text></switch></g><path d="M 199.5 216 L 199.63 230.95" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 199.68 236.95 L 195.61 228.98 L 199.63 230.95 L 203.61 228.91 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><rect x="164.5" y="170" width="140" height="45" fill="#9c2a44" stroke="none" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 193px; margin-left: 166px;"><div data-drawio-colors="color: #ffffff; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><font face="Helvetica">hipLibrary</font></div></div></div></foreignObject><text x="235" y="198" fill="#ffffff" font-family="Helvetica" font-size="17px" text-anchor="middle">hipLibrary</text></switch></g><rect x="250" y="240" width="140" height="45" fill="#962744" stroke="none" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 125px; height: 1px; padding-top: 262px; margin-left: 257px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><div>rocLibrary</div></div></div></div></foreignObject><text x="320" y="268" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">rocLibrary</text></switch></g><path d="M 276 215 L 276 231.76" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 276 237.76 L 272 229.76 L 276 231.76 L 280 229.76 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><rect x="80" y="239.99" width="140" height="45" fill="#60a917" stroke="#2d7600" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 262px; margin-left: 91px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normal;"><div>cuLibrary</div></div></div></div></foreignObject><text x="150" y="268" fill="#FFFFFF" font-family="Helvetica" font-size="17px" text-anchor="middle">cuLibrary</text></switch></g><path d="M 124 285 L 123.99 381.76" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 123.99 387.76 L 119.99 379.76 L 123.99 381.76 L 127.99 379.76 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 320 285 L 320 292.76" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><path d="M 320 298.76 L 316 290.76 L 320 292.76 L 324 290.76 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="none"/><rect x="19.5" y="30" width="430" height="100" fill="#333333" stroke="none" pointer-events="none"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 233px; height: 1px; padding-top: 80px; margin-left: 118px;"><div data-drawio-colors="color: #FFFFFF; " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 17px; font-family: Helvetica; color: rgb(255, 255, 255); line-height: 1.2; pointer-events: none; white-space: normal; overflow-wrap: normaLine truncated
|
||||
<svg xmlns="http://www.w3.org/2000/svg" style="background: transparent; background-color: transparent;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="560px" height="560px" viewBox="-0.5 -0.5 560 560" content="<mxfile><diagram id="zBbb_w2fufU70cdOGtND" name="1 oldal">5Vvbbqs4FP2aSDMPQdgGA4+9nJ5TaY5UqdLMnEcaXIJKIENIm87Xjw02YOyESyG9TCpVYWMD3mt57+VtskBXm8P3zN+uf6YBiRfQDA4LdL2A0HUQ/c8Mr6UBAIxLS5hFAbfVhvvoX8KNJrfuo4DspIZ5msZ5tJWNqzRJyCqXbH6WpS9ys8c0lu+69UN+R7M23K/8mCjN/oqCfF1aMW60/kGicM3vjMVzP/irpzBL9wm/XZImpDyz8cVVeNPd2g/Sl4YJfVugqyxN8/Lb5nBFYuZV4bCy382Rs9UTZyTJ+3TAJuIoPfvxno+bP1r+KhxRjIWwLmCBLl/WUU7ut/6KnX2h0FPbOt/E/PRjFMdXaZxmRV+ELHiFLpk9TfKG/ab4UPsuz9InIs4UvqJGevkoCanBpEd+tuLswPRIHSMf9jPJcnJomPiYv5N0Q/LslTYRZwWGnJpLZHHDSw20LRqtGyBXRp+TK6wuXruZfuGe1nvd9ly32+tdfqb+5F4BmB/f+JsoZmP6k2SBn/jULGMnO5vC8PgILWhx2O75zXdpzB5VgcxkfyrE0IEAmdMgA80WMhApwFiuBhiMJsHF0+CC45w7g0WREg9q/WfPZunlDxI/kzxa+bVJwlEYWf/lrgDsgjYA1vZQNl2VnmTGLHz4Ddr2AtJHNZtffi+a1tfHYXHr2zvxdHRo5QOWZxQyUffnMn+0866JLDf5cRQm9HBFQSXUfsnApMONL/iJTRQE7DbawFDTz2xx1umMCSLoQtGTD0cT5YbzzLVaEUChGYIamsFJpr9nvs/0b0OXp9vOoNCwuzfAAtaJwDBDAMBuv/kPwDTIgPdBZpbAbCFAP4NwqdSU/yCGa57GC8p4ORq8bF0inQYu+P+Aq0HM3jNp6Rm2owGjNs+Ah05NlhkqiJ7r7CSlVDVXjk+JFz+vWad9kkcbcjQ5VmbpoT5jynwsPpNxxsEGoBzxbM/CHsZiMlcrOMMxLahwCrquAVwbmBi50HNcDb2gY3ieA7zqAyehm9U9/UkSXLDFIMMj9ne7aFUg6We5MHPUGkDLEMhqBIjuNxF7skYLnZKhaGSvf7Nmhi0Of/FexcH1QTp6FUeHKG90o0e/+L3Z97oTOxB9jkb5XbrPuGptrD3oGEJSc4V7jgRiUXyEKc0V0om4npHYz6NneSmtQ5vf4S6NimBwEGEKS9RDrnyFcki8U3OB276O05ITlnyd0gnKdQrqVYPuy0b7aPAbtHg4U5C8owA9ptmmI0o+ZJq4+YXWGpOvLDyZccDSLC3MmZYW2DR71HPeOSSOCG2NMEodLAVSw4RdsZQd3ZGMKoKCVf2DJXWnrQuWIoR+kGCJTKrpJNItleVQ34CJQLsAg+eKmNS7PfL3p5Hvs5bBAFalPNQVKCx7kijSmcqmyUeDMuI62v4RPWQ+G8wXykSVhA/83bpF0WYJbApaWT1oBaz5aOV0z3e2c7Lt9oZ+20BspwybhoOLHgi2wq2Qfs3ZiWaqelA3vtPuwfnLhw3KdJO8y/kTcfj4FsF5ShxZuuoKg73qG18hsX5AfoAetf2PIsA9F4+S4MhqS3AwRoOz60+oy+u5+VF0uSsXMZasvDtOlbfKGEt3RlUOLJWw1KFi9qrUHLOi68roUxTR+nLJU7k0YI331koXai+47PmghTpdf0SAaRVWhyobWUwZvuukvCYg3svofE9gkiAPJ39rpl+2nSKLqvPslP6qGDMov1LXG2bzg2dDQldCOOuO03YbU1GcR2lCm91utjHZUP9xw5ffgOpbRx3EJHG2tbcMXcPGQJnnULdgdQzXcSchmDc0G47MVqqkq/MqjTeNxGqwwll3cj2m/UZKLhHzWpLLPk+aRLBduvBaEuiIlhqVJ0VO7g26To9/mj3Bo9j2ldNv3uyDo9St5kLtMvisJAHnIYnjSDRZ0tQKUG+uOE47dsDT6zxNhHjLDoqOWudT13Y7bPRU1+qF2q8MA6/fDss4as2iagCApZjxuKgB0Okhar6UhoH2eA0zuN5ORXd7Yw56nipgkGUIs/ROIzSoBGp8TtC/v6BB6hqwel/KvLi7VTB8y+v/1Ttt/V7/L87wimHIKmNdsWbA3kc7yQBVSQJgqyggZxKvY8XrTyRLip/MxH4S7tmPUT6I5yfwtg2cs3mbHta/mCnDbf2DJPTtPw==</diagram></mxfile>"><defs/><g><g><rect x="0" y="0" width="560" height="560" rx="33.6" ry="33.6" fill="#342c3b" stroke="none" pointer-events="all" style="fill: light-dark(rgb(52, 44, 59), rgb(201, 194, 207));"/></g><g><rect x="40" y="317" width="480" height="63" rx="9.45" ry="9.45" fill="#272130" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(39, 33, 48), rgb(210, 205, 218)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="124" y="337" width="320" height="20" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 318px; height: 1px; padding-top: 347px; margin-left: 125px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #FFFFFF; "><div style="display: inline-block; font-size: 17px; font-family: "Helvetica"; color: light-dark(#FFFFFF, #121212); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; word-wrap: normal; "><font style="font-size: 14px; color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));" face="Helvetica">HIP</font></div></div></div></foreignObject><text x="284" y="352" fill="#FFFFFF" font-family=""Helvetica"" font-size="17px" text-anchor="middle" font-weight="bold">HIP</text></switch></g></g><g><rect x="40" y="408" width="480" height="110" rx="16.5" ry="16.5" fill="#8f1414" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(143, 20, 20), rgb(255, 175, 175)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="60" y="418" width="450" height="50" rx="7.5" ry="7.5" fill="#431111" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(67, 17, 17), rgb(248, 205, 205)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="50.43" y="418" width="459.57" height="50" rx="7.5" ry="7.5" fill="#431111" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(67, 17, 17), rgb(248, 205, 205)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="136.12" y="429.7" width="288.19" height="28" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><swiLine truncated
|
||||
</text></switch></g></g><g><path d="M 150 218 L 149.93 311.89" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/><path d="M 149.92 317.14 L 146.43 310.14 L 149.93 311.89 L 153.43 310.14 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/></g><g><rect x="40" y="173" width="220" height="45" rx="6.75" ry="6.75" fill="#272130" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(39, 33, 48), rgb(210, 205, 218)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="80" y="173" width="140" height="45" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 196px; margin-left: 81px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #ffffff; "><div style="display: inline-block; font-size: 17px; font-family: "Helvetica"; color: light-dark(#ffffff, #121212); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><font face="Helvetica" style="color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));">hipLibrary</font></div></div></div></foreignObject><text x="150" y="201" fill="#ffffff" font-family=""Helvetica"" font-size="17px" text-anchor="middle">hipLibrary</text></switch></g></g><g/><g><rect x="165" y="245" width="230" height="45" rx="6.75" ry="6.75" fill="#8f1414" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(143, 20, 20), rgb(255, 175, 175)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><rect x="165" y="245" width="230" height="45" rx="6.75" ry="6.75" fill="#272130" stroke="#ff2424" pointer-events="all" style="fill: light-dark(rgb(39, 33, 48), rgb(210, 205, 218)); stroke: light-dark(rgb(255, 36, 36), rgb(255, 126, 126));"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 228px; height: 1px; padding-top: 268px; margin-left: 166px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; color: #F0F0F0; "><div style="display: inline-block; font-size: 16px; font-family: "Verdana"; color: light-dark(#F0F0F0, #1f1f1f); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div><font style="color: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));">rocLibrary</font></div></div></div></div></foreignObject><text x="280" y="272" fill="#F0F0F0" font-family=""Verdana"" font-size="16px" text-anchor="middle">rocLibrary</text></switch></g></g><g><path d="M 218.04 218 L 218.64 239.58" fill="none" stroke="#ffffff" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/><path d="M 218.79 244.83 L 215.09 237.93 L 218.64 239.58 L 222.09 237.73 Z" fill="#ffffff" stroke="#ffffff" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/></g><g><path d="M 280 290 L 280 308.76" fill="none" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/><path d="M 280 314.76 L 276 306.76 L 280 308.76 L 284 306.76 Z" fill="#ffffff" stroke="#ffffff" stroke-width="2" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18)); stroke: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/></g><g/><g><rect x="40" y="80" width="480" height="65" rx="9.75" ry="9.75" fill="#272130" stroke="#f0f0f0" pointer-events="all" style="fill: light-dark(rgb(39, 33, 48), rgb(210, 205, 218)); stroke: light-dark(rgb(240, 240, 240), rgb(31, 31, 31));"/></g><g><rect x="160" y="108.56" width="240" height="7.88" fill="none" stroke="none" pointer-events="all"/></g><g><g transform="translate(-0.5 -0.5)"><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 238px; height: 1px; padding-top: 113px; marginLine truncated
|
||||
|
Antes Largura: | Altura: | Tamanho: 18 KiB Depois Largura: | Altura: | Tamanho: 18 KiB |
@@ -1,6 +1,6 @@
|
||||
.. meta::
|
||||
:description: HIP runtime API usage
|
||||
:keywords: AMD, ROCm, HIP, CUDA, HIP runtime API How to,
|
||||
:keywords: AMD, ROCm, HIP, HIP runtime API How to,
|
||||
|
||||
.. _hip_runtime_api_how-to:
|
||||
|
||||
@@ -9,32 +9,20 @@ Using HIP runtime API
|
||||
********************************************************************************
|
||||
|
||||
The HIP runtime API provides C and C++ functionalities to manage event, stream,
|
||||
and memory on GPUs. On the AMD platform, the HIP runtime uses
|
||||
:doc:`Compute Language Runtime (CLR) <../understand/amd_clr>`, while on NVIDIA
|
||||
CUDA platform, it is only a thin layer over the CUDA runtime or Driver API.
|
||||
and memory on GPUs. The HIP runtime uses :doc:`Compute Language Runtime (CLR) <../understand/amd_clr>`.
|
||||
|
||||
- **CLR** contains source code for AMD's compute language runtimes: ``HIP`` and
|
||||
``OpenCL™``. CLR includes the ``HIP`` implementation on the AMD
|
||||
platform: `hipamd <https://github.com/ROCm/rocm-systems/tree/develop/projects/clr/hipamd>`_ and the
|
||||
ROCm Compute Language Runtime (``rocclr``). ``rocclr`` is a
|
||||
virtual device interface that enables the HIP runtime to interact with
|
||||
different backends such as :doc:`ROCr <rocr-runtime:index>` on Linux or PAL on
|
||||
Windows. CLR also includes the `OpenCL runtime <https://github.com/ROCm/rocm-systems/tree/develop/projects/clr/opencl>`_
|
||||
implementation.
|
||||
- The **CUDA runtime** is built on top of the CUDA driver API, which is a C API
|
||||
with lower-level access to NVIDIA GPUs. For details about the CUDA driver and
|
||||
runtime API with reference to HIP, see :doc:`CUDA driver API porting guide <../how-to/hip_porting_driver_api>`.
|
||||
CLR contains source code for AMD ROCm's compute language runtimes: ``HIP`` and
|
||||
``OpenCL™``. CLR includes the ``HIP`` implementation on the AMD ROCm
|
||||
platform: `hipamd <https://github.com/ROCm/rocm-systems/tree/develop/projects/clr/hipamd>`_ and the
|
||||
ROCm Compute Language Runtime (``rocclr``). ``rocclr`` is a
|
||||
virtual device interface that enables the HIP runtime to interact with
|
||||
different backends, such as :doc:`ROCr <rocr-runtime:index>` on Linux or PAL on
|
||||
Microsoft Windows. CLR also includes the `OpenCL runtime <https://github.com/ROCm/rocm-systems/tree/develop/projects/clr/opencl>`_
|
||||
implementation.
|
||||
|
||||
The backends of HIP runtime API under AMD and NVIDIA platform are summarized in
|
||||
the following figure:
|
||||
The HIP runtime API backends are summarized in the following figure:
|
||||
|
||||
.. figure:: ../data/how-to/hip_runtime_api/runtimes.svg
|
||||
|
||||
.. note::
|
||||
|
||||
On NVIDIA platform HIP runtime API calls CUDA runtime or CUDA driver via
|
||||
hipother interface. For more information, see the `hipother repository <https://github.com/ROCm/rocm-systems/tree/develop/projects/hipother>`_.
|
||||
|
||||
Here are the various HIP Runtime API high level functions:
|
||||
|
||||
* :doc:`./hip_runtime_api/initialization`
|
||||
|
||||
@@ -16,12 +16,6 @@ subtrees:
|
||||
title: Installing HIP
|
||||
- file: install/build
|
||||
title: Building HIP from source
|
||||
- url: https://rocm.docs.amd.com/projects/install-on-linux/en/${branch}/reference/system-requirements.html
|
||||
title: Linux supported AMD GPUs
|
||||
- url: https://rocm.docs.amd.com/projects/install-on-windows/en/${branch}/reference/system-requirements.html
|
||||
title: Windows supported AMD GPUs
|
||||
- url: https://developer.nvidia.com/cuda-gpus
|
||||
title: NVIDIA supported GPUs
|
||||
|
||||
- caption: Programming guide
|
||||
entries:
|
||||
|
||||
@@ -16,11 +16,10 @@ Prerequisites
|
||||
=============
|
||||
|
||||
To follow this tutorial, you'll need installed drivers and a HIP compiler
|
||||
toolchain to compile your code. Because HIP for ROCm supports compiling and
|
||||
running on Linux and Windows with AMD and NVIDIA GPUs, the combination of
|
||||
install instructions is more than worth covering as part of this tutorial. For
|
||||
more information about installing HIP development packages, see
|
||||
:doc:`/install/install`.
|
||||
toolchain to compile your code. Because HIP supports compiling and running on
|
||||
Linux and Windows with AMD GPUs, the install instructions are more than worth
|
||||
covering as part of this tutorial. For more information about
|
||||
installing HIP development packages, see :doc:`/install/install`.
|
||||
|
||||
.. _hip-tutorial-saxpy-heterogeneous-programming:
|
||||
|
||||
@@ -158,8 +157,8 @@ for compilation" on Linux. To make invocations more terse, Linux and Windows
|
||||
example follow.
|
||||
|
||||
.. tab-set::
|
||||
.. tab-item:: Linux and AMD
|
||||
:sync: linux-amd
|
||||
.. tab-item:: Linux
|
||||
:sync: linux
|
||||
|
||||
While distro maintainers might package ROCm so that it installs to
|
||||
system-default locations, AMD's packages aren't installed that way. They need
|
||||
@@ -182,19 +181,8 @@ example follow.
|
||||
have `/opt/rocm/bin` on the Path for convenience. This subtly affects
|
||||
CMake package detection logic of ROCm libraries.
|
||||
|
||||
.. tab-item:: Linux and NVIDIA
|
||||
:sync: linux-nvidia
|
||||
|
||||
Both distro maintainers and NVIDIA package CUDA so that ``nvcc`` and related
|
||||
tools are available on the command line by default. You can call the
|
||||
compiler on the command line with:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
nvcc --version
|
||||
|
||||
.. tab-item:: Windows and AMD
|
||||
:sync: windows-amd
|
||||
.. tab-item:: Windows
|
||||
:sync: windows
|
||||
|
||||
Windows compilers and command line tooling have traditionally relied on
|
||||
extra environmental variables and PATH entries to function correctly.
|
||||
@@ -244,90 +232,26 @@ example follow.
|
||||
|
||||
clang++ --version
|
||||
|
||||
.. tab-item:: Windows and NVIDIA
|
||||
:sync: windows-nvidia
|
||||
|
||||
Windows compilers and command line tooling have traditionally relied on
|
||||
extra environmental variables and PATH entries to function correctly.
|
||||
Visual Studio refers to command lines with this setup as "Developer
|
||||
Command Prompt" or "Developer PowerShell" for ``cmd.exe`` and PowerShell
|
||||
respectively.
|
||||
|
||||
The HIP and CUDA SDKs on Windows don't include complete toolchains. You will
|
||||
also need:
|
||||
|
||||
- The Microsoft Windows SDK. It provides the import libs to crucial system
|
||||
libraries that all executables must link to and some auxiliary compiler
|
||||
tooling.
|
||||
- A Standard Template Library (STL). Installed as part of the Microsoft
|
||||
Visual C++ compiler (MSVC) or with Visual Studio.
|
||||
|
||||
If you don't have a version of Visual Studio 2022 installed, for a
|
||||
minimal command line experience, install the
|
||||
`Build Tools for Visual Studio 2022 <https://aka.ms/vs/17/release/vs_BuildTools.exe>`_
|
||||
with the Desktop Developemnt Workload. Under Individual Components select:
|
||||
|
||||
- A version of the Windows SDK
|
||||
- "MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)"
|
||||
- "C++ CMake tools for Windows" (optional)
|
||||
|
||||
.. note::
|
||||
|
||||
The "C++ CMake tools for Windows" individual component is a convenience which
|
||||
puts both ``cmake.exe`` and ``ninja.exe`` onto the PATH inside developer
|
||||
command prompts. You can install these manually, but then you must manage
|
||||
them manually.
|
||||
|
||||
Visual Studio 2017 and later are detectable as COM object instances via WMI.
|
||||
To setup a command line from any shell for the latest Visual Studio's
|
||||
default Visual C++ toolset issue:
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
$InstallationPath = Get-CimInstance MSFT_VSInstance | Sort-Object -Property Version -Descending | Select-Object -First 1 -ExpandProperty InstallLocation
|
||||
Import-Module $InstallationPath\Common7\Tools\Microsoft.VisualStudio.DevShell.dll
|
||||
Enter-VsDevShell -InstallPath $InstallationPath -SkipAutomaticLocation -Arch amd64 -HostArch amd64 -DevCmdArguments '-no_logo'
|
||||
|
||||
You should be able to call the compiler on the command line now:
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
nvcc --version
|
||||
|
||||
Invoking the compiler manually
|
||||
------------------------------
|
||||
|
||||
To compile and link a single-file application, use the following commands:
|
||||
|
||||
.. tab-set::
|
||||
.. tab-item:: Linux and AMD
|
||||
:sync: linux-amd
|
||||
.. tab-item:: Linux
|
||||
:sync: linux
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
amdclang++ ./HIP-Basic/saxpy/main.hip -o saxpy -I ./Common -lamdhip64 -L /opt/rocm/lib -O2
|
||||
|
||||
.. tab-item:: Linux and NVIDIA
|
||||
:sync: linux-nvidia
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
nvcc ./HIP-Basic/saxpy/main.hip -o saxpy -I ./Common -I /opt/rocm/include -O2 -x cu
|
||||
|
||||
.. tab-item:: Windows and AMD
|
||||
:sync: windows-amd
|
||||
.. tab-item:: Windows
|
||||
:sync: windows
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
clang++ .\HIP-Basic\saxpy\main.hip -o saxpy.exe -I .\Common -lamdhip64 -L ${env:HIP_PATH}lib -O2
|
||||
|
||||
.. tab-item:: Windows and NVIDIA
|
||||
:sync: windows-nvidia
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
nvcc .\HIP-Basic\saxpy\main.hip -o saxpy.exe -I ${env:HIP_PATH}include -I .\Common -O2 -x cu
|
||||
|
||||
Depending on your computer, the resulting binary might or might not run. If not,
|
||||
it typically complains about "Invalid device function". That error
|
||||
(corresponding to the ``hipErrorInvalidDeviceFunction`` entry of ``hipError_t``)
|
||||
@@ -341,8 +265,8 @@ find out what device binary flavors are embedded into the executable?
|
||||
|
||||
.. tab-set::
|
||||
|
||||
.. tab-item:: Linux and AMD
|
||||
:sync: linux-amd
|
||||
.. tab-item:: Linux
|
||||
:sync: linux
|
||||
|
||||
The utilities included with ROCm help significantly to inspect binary
|
||||
artifacts on disk. Add the ROCmCC installation folder to your PATH if you
|
||||
@@ -432,32 +356,8 @@ find out what device binary flavors are embedded into the executable?
|
||||
The filename notes the graphics IPs used by the compiler. The contents of
|
||||
this file are similar to the `*.s` file created with ``llvm-objdump`` earlier.
|
||||
|
||||
.. tab-item:: Linux and NVIDIA
|
||||
:sync: linux-nvidia
|
||||
|
||||
Unlike HIP on AMD, when compiling using the NVIDIA support of HIP the resulting
|
||||
binary will be a valid CUDA executable as far as the binary goes. Therefor
|
||||
it'll incorporate PTX ISA (Parallel Thread eXecution Instruction Set
|
||||
Architecture) instead of AMDGPU binary. As s result, tooling shipping with the
|
||||
CUDA SDK can be used to inspect which device ISA got compiled into a specific
|
||||
executable. The tool most useful to us currently is ``cuobjdump``.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cuobjdump --list-ptx ./saxpy
|
||||
|
||||
Which will print something like:
|
||||
|
||||
.. code-block::
|
||||
|
||||
PTX file 1: saxpy.1.sm_52.ptx
|
||||
|
||||
From this we can see that the saxpy kernel is stored as ``sm_52``, which shows
|
||||
that a compute capability 5.2 ISA got embedded into the executable, so devices
|
||||
which sport compute capability 5.2 or newer will be able to run this code.
|
||||
|
||||
.. tab-item:: Windows and AMD
|
||||
:sync: windows-amd
|
||||
.. tab-item:: Windows
|
||||
:sync: windows
|
||||
|
||||
The HIP SDK for Windows don't yet sport the ``roc-*`` set of utilities to work
|
||||
with binary artifacts. To find out what binary formats are embedded into an
|
||||
@@ -562,36 +462,12 @@ find out what device binary flavors are embedded into the executable?
|
||||
s_endpgm
|
||||
...
|
||||
|
||||
.. tab-item:: Windows and NVIDIA
|
||||
:sync: windows-nvidia
|
||||
|
||||
Unlike HIP on AMD, when compiling using the NVIDIA support for HIP, the resulting
|
||||
binary will be a valid CUDA executable. Therefore, it'll incorporate PTX ISA
|
||||
(Parallel Thread eXecution Instruction Set Architecture) instead of AMDGPU
|
||||
binary. As a result, tooling included with the CUDA SDK can be used to
|
||||
inspect which device ISA was compiled into a specific executable. The most
|
||||
helpful to us currently is ``cuobjdump``.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
cuobjdump.exe --list-ptx .\saxpy.exe
|
||||
|
||||
Which prints something like:
|
||||
|
||||
.. code-block::
|
||||
|
||||
PTX file 1: saxpy.1.sm_52.ptx
|
||||
|
||||
This example shows that the SAXPY kernel is stored as ``sm_52``. It also shows
|
||||
that a compute capability 5.2 ISA was embedded into the executable, so devices
|
||||
that support compute capability 5.2 or newer will be able to run this code.
|
||||
|
||||
Now that you've found what binary got embedded into the executable, find which
|
||||
format our available devices use.
|
||||
|
||||
.. tab-set::
|
||||
.. tab-item:: Linux and AMD
|
||||
:sync: linux-amd
|
||||
.. tab-item:: Linux
|
||||
:sync: linux
|
||||
|
||||
On Linux a utility called ``rocminfo`` helps us list all the properties of the
|
||||
devices available on the system, including which version of graphics IP
|
||||
@@ -618,60 +494,8 @@ format our available devices use.
|
||||
Calculating y[i] = a * x[i] + y[i] over 1000000 elements.
|
||||
First 10 elements of the results: [ 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ]
|
||||
|
||||
.. tab-item:: Linux and NVIDIA
|
||||
:sync: linux-nvidia
|
||||
|
||||
On Linux HIP with the NVIDIA back-end, the ``deviceQuery`` CUDA SDK sample
|
||||
can help us list all the properties of the devices available on the system,
|
||||
including which version of compute capability a device sports.
|
||||
``<major>.<minor>`` compute capability is passed to ``nvcc`` on the
|
||||
command-line as ``sm_<major><minor>``, for eg. ``8.6`` is ``sm_86``.
|
||||
|
||||
Because it's not included as a binary, compile the matching
|
||||
example from ROCm.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
nvcc ./HIP-Basic/device_query/main.cpp -o device_query -I ./Common -I /opt/rocm/include -O2
|
||||
|
||||
Filter the output to have only the lines of interest, for example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
./device_query | grep "major.minor"
|
||||
major.minor: 8.6
|
||||
major.minor: 7.0
|
||||
|
||||
.. note::
|
||||
|
||||
In addition to the ``nvcc`` executable is another tool called ``__nvcc_device_query``
|
||||
which prints the SM Architecture numbers to standard out as a comma
|
||||
separated list of numbers. The utility's name suggests it's not a user-facing
|
||||
executable but is used by ``nvcc`` to determine what devices are in the
|
||||
system at hand.
|
||||
|
||||
Now that you know which graphics IPs our devices use, recompile your program with
|
||||
the appropriate parameters.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
nvcc ./HIP-Basic/saxpy/main.hip -o saxpy -I ./Common -I /opt/rocm/include -O2 -x cu -arch=sm_70,sm_86
|
||||
|
||||
.. note::
|
||||
|
||||
If you want to portably target the development machine which is compiling, you
|
||||
may specify ``-arch=native`` instead.
|
||||
|
||||
Now the sample will run.
|
||||
|
||||
.. code-block::
|
||||
|
||||
./saxpy
|
||||
Calculating y[i] = a * x[i] + y[i] over 1000000 elements.
|
||||
First 10 elements of the results: [ 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ]
|
||||
|
||||
.. tab-item:: Windows and AMD
|
||||
:sync: windows-amd
|
||||
.. tab-item:: Windows
|
||||
:sync: windows
|
||||
|
||||
On Windows, a utility called ``hipInfo.exe`` helps us list all the properties
|
||||
of the devices available on the system, including which version of graphics IP
|
||||
@@ -698,56 +522,3 @@ format our available devices use.
|
||||
.\saxpy.exe
|
||||
Calculating y[i] = a * x[i] + y[i] over 1000000 elements.
|
||||
First 10 elements of the results: [ 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ]
|
||||
|
||||
.. tab-item:: Windows and NVIDIA
|
||||
:sync: windows-nvidia
|
||||
|
||||
On Windows HIP with the NVIDIA back-end, the ``deviceQuery`` CUDA SDK sample
|
||||
can help us list all the properties of the devices available on the system,
|
||||
including which version of compute capability a device sports.
|
||||
``<major>.<minor>`` compute capability is passed to ``nvcc`` on the
|
||||
command-line as ``sm_<major><minor>``, for eg. ``8.6`` is ``sm_86``.
|
||||
|
||||
Because it's not included as a binary, compile the matching
|
||||
example from ROCm.
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
nvcc .\HIP-Basic\device_query\main.cpp -o device_query.exe -I .\Common -I ${env:HIP_PATH}include -O2
|
||||
|
||||
Filter the output to have only the lines of interest, for example:
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
.\device_query.exe | Select-String "major.minor"
|
||||
|
||||
major.minor: 8.6
|
||||
major.minor: 7.0
|
||||
|
||||
.. note::
|
||||
|
||||
Next to the ``nvcc`` executable is another tool called ``__nvcc_device_query.exe``
|
||||
which simply prints the SM Architecture numbers to standard out as a comma
|
||||
separated list of numbers. The naming of this utility suggests it's not a user
|
||||
facing executable but is used by ``nvcc`` to determine what devices are in the
|
||||
system at hand.
|
||||
|
||||
Now that you know which graphics IPs our devices use, recompile your program with
|
||||
the appropriate parameters.
|
||||
|
||||
.. code-block:: powershell
|
||||
|
||||
nvcc .\HIP-Basic\saxpy\main.hip -o saxpy.exe -I ${env:HIP_PATH}include -I .\Common -O2 -x cu -arch=sm_70,sm_86
|
||||
|
||||
.. note::
|
||||
|
||||
If you want to portably target the development machine which is compiling, you
|
||||
may specify ``-arch=native`` instead.
|
||||
|
||||
Now the sample will run.
|
||||
|
||||
.. code-block::
|
||||
|
||||
.\saxpy.exe
|
||||
Calculating y[i] = a * x[i] + y[i] over 1000000 elements.
|
||||
First 10 elements of the results: [ 3, 5, 7, 9, 11, 13, 15, 17, 19, 21 ]
|
||||
@@ -1,6 +1,6 @@
|
||||
.. meta::
|
||||
:description: This chapter provides an introduction to the HIP API.
|
||||
:keywords: AMD, ROCm, HIP, CUDA, C++ language extensions
|
||||
:keywords: AMD, ROCm, HIP, C++ language extensions
|
||||
|
||||
.. _intro-to-hip:
|
||||
|
||||
@@ -8,39 +8,36 @@
|
||||
What is HIP?
|
||||
*******************************************************************************
|
||||
|
||||
The Heterogeneous-computing Interface for Portability (HIP) API is a C++ runtime API
|
||||
and kernel language that lets developers create portable applications running in heterogeneous systems,
|
||||
using CPUs and AMD GPUs or NVIDIA GPUs from a single source code. HIP provides a simple
|
||||
marshalling language to access either the AMD ROCM back-end, or NVIDIA CUDA back-end,
|
||||
to build and run application kernels.
|
||||
The Heterogeneous-computing Interface for Portability (HIP) API, part of AMD's
|
||||
ROCm platform, is a C++ runtime API and kernel language that lets developers
|
||||
create portable applications that run on heterogeneous systems, using CPUs and
|
||||
AMD GPUs from a single source code base.
|
||||
|
||||
.. figure:: data/what_is_hip/hip.svg
|
||||
:alt: HIP in an application.
|
||||
:align: center
|
||||
|
||||
* HIP is a thin API with little or no performance impact over coding directly
|
||||
in NVIDIA CUDA or AMD :doc:`ROCm <rocm:what-is-rocm>`.
|
||||
in AMD :doc:`ROCm <rocm:what-is-rocm>`.
|
||||
|
||||
* HIP enables coding in a single-source C++ programming language including
|
||||
* HIP enables coding in a single-source C++ programming language, including
|
||||
features such as templates, C++11 lambdas, classes, namespaces, and more.
|
||||
|
||||
* Developers can specialize for the platform (CUDA or ROCm) to tune for
|
||||
performance or handle tricky cases.
|
||||
* Developers can tune for performance or handle tricky cases via HIP.
|
||||
|
||||
ROCm offers compilers (``clang``, ``hipcc``), code
|
||||
profilers (``rocprof``, ``omnitrace``), debugging tools (``rocgdb``), libraries
|
||||
and HIP with the runtime API and kernel language, to create heterogeneous applications
|
||||
running on both CPUs and GPUs. ROCm provides marshalling libraries like
|
||||
ROCm offers compilers (``clang``, ``hipcc``), code profilers (``rocprofv3``),
|
||||
debugging tools (``rocgdb``), libraries and HIP with the runtime
|
||||
API and kernel language, to create heterogeneous applications running on both
|
||||
CPUs and GPUs. ROCm provides marshalling libraries like
|
||||
:doc:`hipFFT <hipfft:index>` or :doc:`hipBLAS <hipblas:index>` that act as a
|
||||
thin programming layer over either NVIDIA CUDA or AMD ROCm to enable support for
|
||||
either back-end. These libraries offer pointer-based memory interfaces and are
|
||||
easily integrated into your applications.
|
||||
thin programming layer over AMD ROCm and offer API compatibility with the
|
||||
equivalent Nvidia CUDA libraries. These libraries provide pointer-based memory
|
||||
interfaces and can be easily integrated into your applications.
|
||||
|
||||
HIP supports the ability to build and run on either AMD GPUs or NVIDIA GPUs.
|
||||
HIP supports building and running on both AMD GPUs or NVIDIA GPUs.
|
||||
GPU Programmers familiar with NVIDIA CUDA or OpenCL will find the HIP API
|
||||
familiar and easy to use. Developers no longer need to choose between AMD or
|
||||
NVIDIA GPUs. You can quickly port your application to run on the available
|
||||
hardware while maintaining a single codebase. The :doc:`HIPify <hipify:index>`
|
||||
familiar and easy to use. You can quickly port your application to run on the
|
||||
available hardware while maintaining a single codebase. The :doc:`HIPify <hipify:index>`
|
||||
tools, based on the clang front-end and Perl language, can convert CUDA API
|
||||
calls into the corresponding HIP API calls. However, HIP is not intended to be a
|
||||
drop-in replacement for CUDA, and developers should expect to do some manual
|
||||
@@ -56,8 +53,7 @@ develop massively parallel programs that run on GPUs, and provides access to GPU
|
||||
specific hardware capabilities.
|
||||
|
||||
In summary, HIP simplifies cross-platform development, maintains performance,
|
||||
and provides a familiar C++ experience for GPU programming that runs seamlessly
|
||||
on both AMD and NVIDIA GPUs.
|
||||
and provides a familiar C++ experience for GPU programming that runs seamlessly.
|
||||
|
||||
HIP components
|
||||
===============================================
|
||||
@@ -68,19 +64,11 @@ associated with each component, see :doc:`HIP licensing <license>`.
|
||||
C++ runtime API
|
||||
-----------------------------------------------
|
||||
|
||||
For the AMD ROCm platform, HIP provides headers and a runtime library built on
|
||||
top of HIP-Clang compiler in the repository
|
||||
:doc:`Compute Language Runtime (CLR) <understand/amd_clr>`. The HIP runtime
|
||||
implements HIP streams, events, and memory APIs, and is an object library that
|
||||
is linked with the application. The source code for all headers and the library
|
||||
implementation is available on GitHub.
|
||||
|
||||
For the NVIDIA CUDA platform, HIP provides headers that translate from the
|
||||
HIP runtime API to the CUDA runtime API. The host-side contains mostly inlined
|
||||
wrappers or even just preprocessor defines, with no additional overhead.
|
||||
The device-side code is compiled with ``nvcc``, just like normal CUDA kernels,
|
||||
and therefore one can expect the same performance as if directly coding in CUDA.
|
||||
The CUDA specific headers can be found in the `hipother repository <https://github.com/ROCm/rocm-systems/tree/develop/projects/hipother>`_.
|
||||
HIP provides headers and a runtime library built on top of HIP-Clang compiler in
|
||||
the repository :doc:`Compute Language Runtime (CLR) <understand/amd_clr>`. The
|
||||
HIP runtime implements HIP streams, events, and memory APIs, and is an object
|
||||
library that is linked with the application. The source code for all headers and
|
||||
the library implementation is available on GitHub.
|
||||
|
||||
For further details, check :ref:`HIP Runtime API Reference <runtime_api_reference>`.
|
||||
|
||||
|
||||
Reference in new issue
Bloquear um usuário