Skip to content

Commit

Permalink
rebuilding site Wed, Aug 21, 2024 8:57:45 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
erincatto committed Aug 22, 2024
1 parent 931e97d commit d15328c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions posts/2024/08/simd-matters/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ <h2 id="does-it-matter">Does it matter?</h2>
<li>AVX2 : 1117 fps = 0.90 ms</li>
<li>Neon : 1058 fps = 0.95 ms</li>
<li>SSE2 : 982 fps = 1.02 ms</li>
<li>scalar : 524 fps = 1.91 ms</li>
<li>scalar (AMD): 524 fps = 1.91 ms</li>
<li>scalar (M2): 679 fps = 1.47 ms</li>
</ul>
<p>From this I draw the following conclusions:</p>
<ol>
Expand All @@ -243,6 +244,11 @@ <h2 id="references">References</h2>
<p><a href="https://www.bepuentertainment.com/">Bepu Physics</a> uses graph coloring and SIMD. While I had known about this technique for some time, the high performance of Bepu has inspired me.</p>
<p><a href="http://web.eecs.umich.edu/~msmelyan/papers/physsim_onmanycore_itj.pdf">High-Performance Physical Simulations on Next-Generation Architecture with Many Cores</a>. This is the earliest reference I know of that suggests using graph coloring to speed up rigid body physics calculations.</p>
<p>Graph coloring is used in many areas of simulation. For example, it is very useful for <a href="https://gamma.cs.unc.edu/CDCD/main.pdf">cloth simulation</a>. The nice thing about cloth simulation is that typically the graph coloring can be pre-computed.</p>
<h2 id="update">Update</h2>
<ul>
<li>added milliseconds to comparison</li>
<li>added M2 scalar results</li>
</ul>

</div>
</article>
Expand All @@ -251,7 +257,7 @@ <h2 id="references">References</h2>

<div class="post-info">

<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>1753 words</p>
<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-text"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="16" y1="13" x2="8" y2="13"></line><line x1="16" y1="17" x2="8" y2="17"></line><polyline points="10 9 9 9 8 9"></polyline></svg>1769 words</p>

<p><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>2024-08-18 17:00 -0700</p>
</div>
Expand Down

0 comments on commit d15328c

Please sign in to comment.