{"author_name":"kitanokumo","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudylog.hateblo.jp%2Fentry%2F2015%2F08%2F05%2F141257\" title=\"cupy\u4f7f\u3063\u3066\u307f\u308b - studylog/\u5317\u306e\u96f2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"cupy\u4f7f\u3063\u3066\u307f\u308b","provider_name":"Hatena Blog","width":"100%","type":"rich","blog_url":"https://studylog.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/kitanokumo/","categories":["chainer"],"version":"1.0","url":"https://studylog.hateblo.jp/entry/2015/08/05/141257","provider_url":"https://hatena.blog","height":"190","published":"2015-08-05 14:12:57","blog_title":"studylog/\u5317\u306e\u96f2","image_url":null,"description":"\u4e00\u30f6\u6708\u5f8c\u306b\u30ea\u30ea\u30fc\u30b9\u4e88\u5b9a\u306ecupy\u30d0\u30fc\u30b8\u30e7\u30f3\u306eChainer\u3092\u4f7f\u3063\u3066\u307f\u308b\u3002import cudnn\u306e\u3068\u3053\u308d\u3067\u30a8\u30e9\u30fc\u3002\u3069\u3046\u3082CuDNN\u74b0\u5883\u304c\u7121\u3044\u3068\u52d5\u304b\u306a\u3044\u6a21\u69d8\u3067libcudnn.so\u3092\u5165\u308c\u305f\u3089\u52d5\u304d\u3060\u3057\u305f\u3002CuDNN\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306fv2\u3002 cuda.init()\u304c\u5fc5\u8981\u7121\u304f\u306a\u3063\u3066\u308b\u3002 \u3068\u3044\u3046\u304b\u3053\u308c\u304c\u3042\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002 GPU\u7528\u306e\u5206\u5c90\u30b3\u30fc\u30c9\u304c\u4e00\u5207\u3044\u3089\u306a\u3044\u306e\u304b\u3068\u601d\u3044\u304d\u3084to_gpu\u306f\u5fc5\u8981\u3063\u307d\u3044\u3002 \u901f\u5ea6\u6bd4\u8f03(time\u306e\u3068\u3053\u308d) PyCUDA\u3092\u4f7f\u3063\u305f\u73fe\u5728\u306emaster\u30d0\u30fc\u30b8\u30e7\u30f3 200/7030800, train_loss = 7.32764196395874, time = 0.24 400/703080\u2026"}