<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fous</author_name>
  <author_url>https://blog.hatena.ne.jp/fous/</author_url>
  <blog_title>fousの日記</blog_title>
  <blog_url>https://fous.hatenadiary.org/</blog_url>
  <categories>
    <anon>GPGPU</anon>
    <anon>CUDA</anon>
  </categories>
  <description>あけましておめでとうございます。またまたCUDAネタです。Texture Memoryは型変換や補間などけっこう便利なのですが、同一ファイル内でグローバル変数として宣言しなければならないなど、使用が非常に面倒です。 そして、どうにかして楽に使う方法はないかと探しているときに遭遇した不思議な現象がこのお話です。初めはテクスチャの宣言を固定長配列としておこない、後から参照する方法を考えていましたが早々に断念。テクスチャを使用した際のptxコードを見ればわかるとおり、どのテクスチャを使用するかはコンパイル段階で決定されていないといけないようです。次に考えたのは、型テンプレートを使用する方法。text…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffous.hatenadiary.org%2Fentry%2F20100102%2F1262466335&quot; title=&quot; Texture Memoryとテンプレート - fousの日記&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>2010-01-02 06:05:35</published>
  <title> Texture Memoryとテンプレート</title>
  <type>rich</type>
  <url>https://fous.hatenadiary.org/entry/20100102/1262466335</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
