{"action":"created","issue":{"url":"https://api.github.com/repos/pocl/pocl/issues/291","labels_url":"https://api.github.com/repos/pocl/pocl/issues/291/labels{/name}","comments_url":"https://api.github.com/repos/pocl/pocl/issues/291/comments","events_url":"https://api.github.com/repos/pocl/pocl/issues/291/events","html_url":"https://github.com/pocl/pocl/issues/291","id":125683512,"number":291,"title":"LLVM AMD GPU","user":{"login":"jsteube","id":10434361,"avatar_url":"https://avatars.githubusercontent.com/u/10434361?v=3","gravatar_id":"","url":"https://api.github.com/users/jsteube","html_url":"https://github.com/jsteube","followers_url":"https://api.github.com/users/jsteube/followers","following_url":"https://api.github.com/users/jsteube/following{/other_user}","gists_url":"https://api.github.com/users/jsteube/gists{/gist_id}","starred_url":"https://api.github.com/users/jsteube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsteube/subscriptions","organizations_url":"https://api.github.com/users/jsteube/orgs","repos_url":"https://api.github.com/users/jsteube/repos","events_url":"https://api.github.com/users/jsteube/events{/privacy}","received_events_url":"https://api.github.com/users/jsteube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T20:07:03Z","updated_at":"2016-01-08T21:09:14Z","closed_at":null,"body":"Not an issue, just a question:\r\n\r\nWhile I was compiling LLVM 3.7 from source I saw that it ships with a target called \"AMD GPU\". I'm not really sure what this means but it came into my mind that it maybe means that pocl can use this target to execute OpenCL kernel on AMD GPUS? \r\n\r\nThat would be really nice as an OSS alternative to Catalyst!\r\n\r\nOr the question in general is, does pocl aim to execute code on GPU as well?"},"comment":{"url":"https://api.github.com/repos/pocl/pocl/issues/comments/170124089","html_url":"https://github.com/pocl/pocl/issues/291#issuecomment-170124089","issue_url":"https://api.github.com/repos/pocl/pocl/issues/291","id":170124089,"user":{"login":"franz","id":90404,"avatar_url":"https://avatars.githubusercontent.com/u/90404?v=3","gravatar_id":"","url":"https://api.github.com/users/franz","html_url":"https://github.com/franz","followers_url":"https://api.github.com/users/franz/followers","following_url":"https://api.github.com/users/franz/following{/other_user}","gists_url":"https://api.github.com/users/franz/gists{/gist_id}","starred_url":"https://api.github.com/users/franz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz/subscriptions","organizations_url":"https://api.github.com/users/franz/orgs","repos_url":"https://api.github.com/users/franz/repos","events_url":"https://api.github.com/users/franz/events{/privacy}","received_events_url":"https://api.github.com/users/franz/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T21:09:14Z","updated_at":"2016-01-08T21:09:14Z","body":"You mean LLVM's lib/Target/AMDGPU ? Yes that is LLVM's AMD GPU backend. However pocl can't use AMD GPUs that easily - while LLVM can compile C/C++/OpenCL into binaries that run on GPUs, that's not enough to do anything useful. You need infrastructure that deals with gpu memory, submits commands to the gpu processor, and similar (rather low-level) stuff. Pocl doesn't have any of this.\r\n\r\nHowever, this infrastructure exists already, in Mesa libraries. So to get an OSS OpenCL with AMD GPUs all you need to do is install \"mesa-opencl\" or similarly named package on your system. A lot of stuff is still unimplemented, but for something relatively simple like password-hashing it might actually be worth a try."}}