Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ APUs
AQL
AXPY
asm
Asynchronicity
Asynchrony
asynchrony
backtrace
bfloat
Expand Down Expand Up @@ -71,6 +73,7 @@ hipModule
hipModuleLaunchKernel
hipother
HIPRTC
hyperthreading
icc
IILE
iGPU
Expand All @@ -91,7 +94,6 @@ iteratively
Lapack
latencies
libc
libhipcxx
libstdc
lifecycle
linearizing
Expand All @@ -116,6 +118,7 @@ NDRange
nonnegative
NOP
Numa
ns
Nsight
ocp
omnitrace
Expand All @@ -124,6 +127,7 @@ overindexing
oversubscription
overutilized
parallelizable
pipelining
parallelized
pixelated
pragmas
Expand Down Expand Up @@ -172,6 +176,7 @@ ULP
ULPs
unintuitive
UMM
uncoalesced
unmap
unmapped
unmapping
Expand Down
181 changes: 181 additions & 0 deletions docs/data/understand/programming_model/cpu-gpu-comparison.drawio

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
61 changes: 61 additions & 0 deletions docs/data/understand/programming_model/host-device-flow.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<mxfile host="65bd71144e" scale="1" border="20">
<diagram name="Host-Device Data Flow" id="host-device-flow">
<mxGraphModel dx="739" dy="990" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="600" pageHeight="300" background="#5E5B61" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="title" value="Host-Device Data Flow" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=18;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="200" y="10" width="200" height="30" as="geometry"/>
</mxCell>
<mxCell id="host-box" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#585556;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="50" y="70" width="150" height="180" as="geometry"/>
</mxCell>
<mxCell id="host-label" value="Host (CPU)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="75" y="80" width="100" height="30" as="geometry"/>
</mxCell>
<mxCell id="device-box" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#C23555;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" vertex="1">
<mxGeometry x="400" y="70" width="150" height="180" as="geometry"/>
</mxCell>
<mxCell id="device-label" value="Device (GPU)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="425" y="80" width="100" height="30" as="geometry"/>
</mxCell>
<mxCell id="arrow-1" value="" style="endArrow=classic;html=1;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="200" y="120" as="sourcePoint"/>
<mxPoint x="400" y="120" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="label-1" value="1. Initialize" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="250" y="100" width="100" height="20" as="geometry"/>
</mxCell>
<mxCell id="arrow-2" value="" style="endArrow=classic;html=1;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="200" y="160" as="sourcePoint"/>
<mxPoint x="400" y="160" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="label-2" value="2. Transfer Data" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="250" y="140" width="100" height="20" as="geometry"/>
</mxCell>
<mxCell id="arrow-3" value="" style="endArrow=classic;html=1;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="200" y="200" as="sourcePoint"/>
<mxPoint x="400" y="200" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="label-3" value="3. Execute Kernel" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="250" y="180" width="100" height="20" as="geometry"/>
</mxCell>
<mxCell id="arrow-4" value="" style="endArrow=classic;html=1;strokeColor=#FFFFFF;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="400" y="240" as="sourcePoint"/>
<mxPoint x="200" y="240" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="label-4" value="4. Return Results" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=12;fontFamily=Arial;fontColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="250" y="220" width="100" height="20" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading