{"action":"created","issue":{"url":"https://api.github.com/repos/Element-Research/rnn/issues/41","labels_url":"https://api.github.com/repos/Element-Research/rnn/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/Element-Research/rnn/issues/41/comments","events_url":"https://api.github.com/repos/Element-Research/rnn/issues/41/events","html_url":"https://github.com/Element-Research/rnn/issues/41","id":110807897,"number":41,"title":"rnn with cltorch?","user":{"login":"sidec","id":2880084,"avatar_url":"https://avatars.githubusercontent.com/u/2880084?v=3","gravatar_id":"","url":"https://api.github.com/users/sidec","html_url":"https://github.com/sidec","followers_url":"https://api.github.com/users/sidec/followers","following_url":"https://api.github.com/users/sidec/following{/other_user}","gists_url":"https://api.github.com/users/sidec/gists{/gist_id}","starred_url":"https://api.github.com/users/sidec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidec/subscriptions","organizations_url":"https://api.github.com/users/sidec/orgs","repos_url":"https://api.github.com/users/sidec/repos","events_url":"https://api.github.com/users/sidec/events{/privacy}","received_events_url":"https://api.github.com/users/sidec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-10T17:51:21Z","updated_at":"2016-01-04T21:29:28Z","closed_at":null,"body":"Hi, are you planning to add support for using library with opencl through cltorch and clnn?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Element-Research/rnn/issues/comments/168815490","html_url":"https://github.com/Element-Research/rnn/issues/41#issuecomment-168815490","issue_url":"https://api.github.com/repos/Element-Research/rnn/issues/41","id":168815490,"user":{"login":"sidec","id":2880084,"avatar_url":"https://avatars.githubusercontent.com/u/2880084?v=3","gravatar_id":"","url":"https://api.github.com/users/sidec","html_url":"https://github.com/sidec","followers_url":"https://api.github.com/users/sidec/followers","following_url":"https://api.github.com/users/sidec/following{/other_user}","gists_url":"https://api.github.com/users/sidec/gists{/gist_id}","starred_url":"https://api.github.com/users/sidec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidec/subscriptions","organizations_url":"https://api.github.com/users/sidec/orgs","repos_url":"https://api.github.com/users/sidec/repos","events_url":"https://api.github.com/users/sidec/events{/privacy}","received_events_url":"https://api.github.com/users/sidec/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T21:29:28Z","updated_at":"2016-01-04T21:29:28Z","body":"Although obviously low end,  I'm pretty sure that mesa-opengl on Radeon HD 7640G uses GPU. I followed your advise and run an example from aparapi and I was watching closely ```htop``` output. It supported my previous feeling that I got when I used clBLAS. It seems that during calculations only 1 core was busy. Here is a sample from console:\r\n```\r\ngpu time: 9857\r\ncpu time: 22939\r\nvalid? yes\r\nboolean 2D\r\ngpu time: 2682\r\ncpu time: 6301\r\nvalid? yes\r\nbyte 2D\r\ngpu time: 2636\r\ncpu time: 6900\r\nvalid? yes\r\nshort 2D\r\ngpu time: 1882\r\ncpu time: 7334\r\nvalid? no\r\nint 2D\r\ngpu time: 775\r\ncpu time: 7671\r\nvalid? yes\r\nlong 2D\r\ngpu time: 1277\r\ncpu time: 8724\r\nvalid? yes\r\nfloat 2D\r\ngpu time: 765\r\ncpu time: 7314\r\nvalid? yes\r\ndouble 2D\r\nclBuildProgram failed\r\n************************************************\r\nunsupported call to function __muldf3 in run\r\n************************************************\r\nJan 04, 2016 8:55:32 PM com.amd.aparapi.internal.kernel.KernelRunner warnFallBackAndExecute\r\nWARNING: Reverting to Java Thread Pool (JTP) for class gov.pnnl.aparapi.sample.mdarray.DMatMul2D: OpenCL compile failed\r\n\r\n```\r\nAs expected, the program failed at an attempt to do calculation with double precision on gpu, but  aside of that it worked just fine and with clear speed up. \r\n\r\nThis [link](http://dri.freedesktop.org/wiki/GalliumCompute/) is to a features matrix  and I hope that in some future we will get fully-fledged open source implementation of OpenCl.  "}}