{"image_url":null,"description":"GPU\u3068\u3044\u3046\u3068\u3075\u3064\u3046\u306ffloat\u306e\u8a08\u7b97\u3060\u304c\u3001\u3042\u307e\u308a\u8208\u5473\u306f\u306a\u3044\u3002\u3084\u3063\u3071\u308a\u6574\u6570\u306e\u8a08\u7b97\u3092\u3057\u305f\u3044\u3002\u6574\u6570\u306e\u8a08\u7b97\u901f\u5ea6\u306f\u3069\u3093\u306a\u3082\u3093\u3060\u308d\u3046\u3002\u9069\u5f53\u306b\u52a0\u4e57\u9664\u306e\u30b3\u30fc\u30c9\u3067\u8a66\u3057\u3066\u307f\u305f\u3002 __global__ void int_add(int *data, int width, int height, int nRep) { unsigned int xIndex = blockIdx.x * BLOCK_DIM + threadIdx.x; unsigned int yIndex = blockIdx.y * BLOCK_DIM + threadIdx.y; if( (xIndex unsigned int index\u2026","published":"2009-01-09 00:00:00","provider_name":"Hatena Blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/inamori/","blog_title":"inamori\u2019s diary","author_name":"inamori","provider_url":"https://hatena.blog","width":"100%","title":"\u6574\u6570\u306e\u8a08\u7b97","type":"rich","categories":["GPGPU","CUDA"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090109%2Fp1\" title=\"\u6574\u6570\u306e\u8a08\u7b97 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","url":"https://inamori.hateblo.jp/entry/20090109/p1","blog_url":"https://inamori.hateblo.jp/"}