{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/o/olj611/20260212/20260212011600.png","url":"https://olj611.hatenablog.com/entry/2026/02/12/032118","published":"2026-02-12 03:21:18","title":"\u3010VS2022\u3011OpenCL \u306e\u5c0e\u5165\u65b9\u6cd5","description":"OpenCL\u3068\u306f OpenCL \u306f\u3001CPU\u30fbGPU \u306a\u3069\u7570\u306a\u308b\u8a08\u7b97\u30c7\u30d0\u30a4\u30b9\u3092\u5171\u901a\u306e\u4ed5\u7d44\u307f\u3067\u6271\u3046\u305f\u3081\u306e\u4e26\u5217\u8a08\u7b97 API\u3002 \u30ab\u30fc\u30cd\u30eb\u3068\u547c\u3070\u308c\u308b\u95a2\u6570\u3092\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u5b9f\u884c\u3057\u3001\u5927\u91cf\u30c7\u30fc\u30bf\u3092\u9ad8\u901f\u306b\u51e6\u7406\u3067\u304d\u308b\u3002 \u5b9f\u52d9\u3067\u306f\u4e3b\u306b GPU \u8a08\u7b97\u306b\u4f7f\u308f\u308c\u308b\u3053\u3068\u304c\u591a\u3044\u3002 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002 vcpkg install opencl\u6210\u529f\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 MFC \u306b\u7d44\u307f\u8fbc\u3080 Dialog Based \u306e MFC \u306b\u7d44\u307f\u8fbc\u3093\u3067\u3044\u304d\u307e\u3059\u3002pch.h #define CL_USE_DEPRECATED_OPENCL_1_2_APIS #include <CL/cl.h> #in\u2026","blog_url":"https://olj611.hatenablog.com/","provider_name":"Hatena Blog","width":"100%","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/olj611/","blog_title":"\u6a5f\u68b0\u5b66\u7fd2\u57fa\u790e\u7406\u8ad6\u72ec\u7fd2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Folj611.hatenablog.com%2Fentry%2F2026%2F02%2F12%2F032118\" title=\"\u3010VS2022\u3011OpenCL \u306e\u5c0e\u5165\u65b9\u6cd5 - \u6a5f\u68b0\u5b66\u7fd2\u57fa\u790e\u7406\u8ad6\u72ec\u7fd2\" 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","author_name":"olj611","categories":["Visual Studio"],"provider_url":"https://hatena.blog"}