<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>i-saint</author_name>
  <author_url>https://blog.hatena.ne.jp/i-saint/</author_url>
  <blog_title>primitive: blog</blog_title>
  <blog_url>https://i-saint.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>SPH (パーティクルベース流体シム) を実装。と言っても、コード自体は DirectX SDK のサンプルにある ComputeShader 使った 2D SPH のほぼベタ移植ですが。 当初は GPGPU は OpenCL でやる予定でしたが、色々検証した結果 CUDA にしました。8000系以上の GeForce ではないマシンは全部切り捨てることになりますが、今回は開発の楽さを優先します。 上記デモの CUDA のコード。 CUDA は素晴らしく楽に GPGPU させてくれます。C++ プロジェクトに直接組み込める。template をかなり高いレベルでサポートしている。GPU 用 S…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fi-saint.hatenablog.com%2Fentry%2F20111128%2F1322491275&quot; title=&quot; CUDA SPH 65536 particles - primitive: blog&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-11-28 23:41:15</published>
  <title> CUDA SPH 65536 particles</title>
  <type>rich</type>
  <url>https://i-saint.hatenablog.com/entry/20111128/1322491275</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
