<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>GPGPU</anon>
  </categories>
  <description>配列 配列は次のように宣言して使う。 int a[10];関数に引き渡すには次のようにする。 void f(in int a[10]);f(a);型にinがつくと、入力、 outがつくと、出力、 inoutがつくと、入出力になる。 次の例は、 an = a0 + ... + an-1 s = a0 + ... + an を、a0を変えて計算する。 しかし、配列の大きさが1024より大きくなるとうまく動かなかった。 この問題ではそうだが、他では大きさの限界が違うかもしれない。 uniform sampler2DRect texUnit0; // dataconst int N = 1023;vo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20080402%2Fp1&quot; title=&quot;GPGPUで整数計算（9） - inamori’s diary&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>2008-04-02 00:00:00</published>
  <title>GPGPUで整数計算（9）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20080402/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
