{"categories":["Programming","C++"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqnighy.hatenablog.com%2Fentry%2F20100110%2F1263135797\" title=\"CUDA\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u7cde\u3002\u30de\u30af\u30ed\u3092\u6b63\u5e38\u306b\u5c55\u958b\u3057\u306a\u3044\u3002 - \u7c21\u6f54\u306aQ\" 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","image_url":null,"width":"100%","published":"2010-01-10 00:03:17","blog_url":"https://qnighy.hatenablog.com/","description":"\u67d0Hiroaki Software\u304c\u3001Win32API\u30b3\u30fc\u30c9\u3092cu\u30b3\u30fc\u30c9\u306b\u6df7\u305c\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u5999\u306a\u30a8\u30e9\u30fc\u306b\u5dfb\u304d\u3053\u307e\u308c\u305f\u3089\u3057\u3044\u306e\u3067\u8abf\u67fb\u3057\u305f\u3089\u3001CUDA\u306e\u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u3042\u308b\u3068\u3053\u308d\u306envcc\u306f\u30af\u30bd\u3067\u3042\u308b\u3053\u3068\u304c\u5224\u660e\u3057\u305f\u3002\u5177\u4f53\u7684\u306b\u306f\u3001CreateWindow()\u4e2d\u306b\u4e00\u884c\u30b3\u30e1\u30f3\u30c8\u3092\u66f8\u3053\u3046\u3068\u3057\u3066\u5931\u6557\u3057\u305f\u3089\u3057\u3044\u3002\u3053\u306e\u52d5\u4f5c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u518d\u73fe\u3067\u304d\u308b\u3002 test.cu #define func_macro(x,y) func(x,y) func(x, //comment y); func_macro(x, //comment y); do preprocessing $ nvcc -E test.cu | t\u2026","provider_name":"Hatena Blog","url":"https://qnighy.hatenablog.com/entry/20100110/1263135797","height":"190","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/qnighy/","title":"CUDA\u30b3\u30f3\u30d1\u30a4\u30e9\u306f\u7cde\u3002\u30de\u30af\u30ed\u3092\u6b63\u5e38\u306b\u5c55\u958b\u3057\u306a\u3044\u3002","author_name":"qnighy","version":"1.0","blog_title":"\u7c21\u6f54\u306aQ"}