{"published":"2016-11-21 19:25:48","blog_url":"https://fareastprogramming.hatenadiary.jp/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffareastprogramming.hatenadiary.jp%2Fentry%2F2016%2F11%2F21%2F192548\" title=\"Thrust \u3067 \u751f\u30dd\u3092\u6271\u3046\u306b\u306f - \u6771\u65b9\u7b97\u7a0b\u8b5a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","height":"190","version":"1.0","categories":["Thrust"],"width":"100%","provider_name":"Hatena Blog","description":"Windows/Visual Studio\u7248\u3067\u306f\u304a\u306a\u3058\u307f\u306e\u300c\u914d\u5217\u306e\u8db3\u3057\u7b97\u300d: c[i] = a[i] + b[i] (i = 0, 1, ...) \u3092 Thrust\u4f7f\u3063\u3066\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 /* DO NOT FORGET: --expt-extended-lambda option to nvcc */ #include <cstdio> #include <cassert> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/transform.h> void addWithTh\u2026","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/E/Episteme/20161121/20161121192437.png","author_name":"Episteme","author_url":"https://blog.hatena.ne.jp/Episteme/","url":"https://fareastprogramming.hatenadiary.jp/entry/2016/11/21/192548","title":"Thrust \u3067 \u751f\u30dd\u3092\u6271\u3046\u306b\u306f","blog_title":"\u6771\u65b9\u7b97\u7a0b\u8b5a"}