{"categories":[],"blog_url":"https://atsuoishimoto.hatenablog.com/","height":"190","author_name":"atsuoishimoto","description":"\u3075\u3068\u601d\u3044\u7acb\u3063\u3066\u3001CUDA\u3067CPU\u304b\u3089GPU\u306b\u30c7\u30fc\u30bf\u3092\u8ee2\u9001\u3059\u308b\u6642\u306e\u901f\u5ea6\u3092\u6e2c\u3063\u3066\u307f\u305f\u3002 \u666e\u901a\u306bCUDA SDK\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u6e2c\u5b9a\u3057\u3066\u3082\u826f\u3044\u304c\u3001Python\u306eCFFI \u3067\u5b9f\u884c\u3057\u3066\u307f\u3088\u3046\u3002 \u30b3\u30fc\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u66f8\u3051\u308b\u3002 import time import sys from cffi import FFI ffi=FFI() ffi.cdef(r\"\"\" typedef unsigned int cudaError_t; cudaError_t cudaGetLastError(); char* cudaGetErrorString(cudaError_t error); cudaError_t cuda\u2026","provider_url":"https://hatena.blog","type":"rich","published":"2018-01-30 10:26:16","provider_name":"Hatena Blog","version":"1.0","blog_title":"atsuoishimoto's diary","title":"Python/CFFI\u3067CUDA\u3057\u3066\u307f\u308b","width":"100%","url":"https://atsuoishimoto.hatenablog.com/entry/2018/01/30/102616","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/a/atsuoishimoto/20180130/20180130100853.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F2018%2F01%2F30%2F102616\" title=\"Python/CFFI\u3067CUDA\u3057\u3066\u307f\u308b - atsuoishimoto&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/atsuoishimoto/"}