{"action":"created","issue":{"url":"https://api.github.com/repos/cdeterman/gpuR/issues/9","repository_url":"https://api.github.com/repos/cdeterman/gpuR","labels_url":"https://api.github.com/repos/cdeterman/gpuR/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/cdeterman/gpuR/issues/9/comments","events_url":"https://api.github.com/repos/cdeterman/gpuR/issues/9/events","html_url":"https://github.com/cdeterman/gpuR/issues/9","id":129516310,"number":9,"title":"Select different graphic processor","user":{"login":"dliang1122","id":11352647,"avatar_url":"https://avatars.githubusercontent.com/u/11352647?v=3","gravatar_id":"","url":"https://api.github.com/users/dliang1122","html_url":"https://github.com/dliang1122","followers_url":"https://api.github.com/users/dliang1122/followers","following_url":"https://api.github.com/users/dliang1122/following{/other_user}","gists_url":"https://api.github.com/users/dliang1122/gists{/gist_id}","starred_url":"https://api.github.com/users/dliang1122/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dliang1122/subscriptions","organizations_url":"https://api.github.com/users/dliang1122/orgs","repos_url":"https://api.github.com/users/dliang1122/repos","events_url":"https://api.github.com/users/dliang1122/events{/privacy}","received_events_url":"https://api.github.com/users/dliang1122/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cdeterman/gpuR/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"cdeterman","id":3091179,"avatar_url":"https://avatars.githubusercontent.com/u/3091179?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeterman","html_url":"https://github.com/cdeterman","followers_url":"https://api.github.com/users/cdeterman/followers","following_url":"https://api.github.com/users/cdeterman/following{/other_user}","gists_url":"https://api.github.com/users/cdeterman/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeterman/subscriptions","organizations_url":"https://api.github.com/users/cdeterman/orgs","repos_url":"https://api.github.com/users/cdeterman/repos","events_url":"https://api.github.com/users/cdeterman/events{/privacy}","received_events_url":"https://api.github.com/users/cdeterman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cdeterman/gpuR/milestones/3","html_url":"https://github.com/cdeterman/gpuR/milestones/1.2.0","labels_url":"https://api.github.com/repos/cdeterman/gpuR/milestones/3/labels","id":1626946,"number":3,"title":"1.2.0","description":"Implement ability to switch between GPUs.","creator":{"login":"cdeterman","id":3091179,"avatar_url":"https://avatars.githubusercontent.com/u/3091179?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeterman","html_url":"https://github.com/cdeterman","followers_url":"https://api.github.com/users/cdeterman/followers","following_url":"https://api.github.com/users/cdeterman/following{/other_user}","gists_url":"https://api.github.com/users/cdeterman/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeterman/subscriptions","organizations_url":"https://api.github.com/users/cdeterman/orgs","repos_url":"https://api.github.com/users/cdeterman/repos","events_url":"https://api.github.com/users/cdeterman/events{/privacy}","received_events_url":"https://api.github.com/users/cdeterman/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2016-03-07T18:00:27Z","updated_at":"2016-03-25T18:50:02Z","due_on":null,"closed_at":null},"comments":30,"created_at":"2016-01-28T17:19:06Z","updated_at":"2016-04-27T20:18:51Z","closed_at":null,"body":"Hi, \r\nJust started playing with gpuR package. I am just wondering if there is a way to select graphic processor . I have a laptop with 2 GPU (intel Iris pro + AMD R9). gpuR always uses the Intel GPU (even if I force the OS to use AMD only). \r\n\r\nThanks,\r\nDennis"},"comment":{"url":"https://api.github.com/repos/cdeterman/gpuR/issues/comments/215215286","html_url":"https://github.com/cdeterman/gpuR/issues/9#issuecomment-215215286","issue_url":"https://api.github.com/repos/cdeterman/gpuR/issues/9","id":215215286,"user":{"login":"cdeterman","id":3091179,"avatar_url":"https://avatars.githubusercontent.com/u/3091179?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeterman","html_url":"https://github.com/cdeterman","followers_url":"https://api.github.com/users/cdeterman/followers","following_url":"https://api.github.com/users/cdeterman/following{/other_user}","gists_url":"https://api.github.com/users/cdeterman/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeterman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeterman/subscriptions","organizations_url":"https://api.github.com/users/cdeterman/orgs","repos_url":"https://api.github.com/users/cdeterman/repos","events_url":"https://api.github.com/users/cdeterman/events{/privacy}","received_events_url":"https://api.github.com/users/cdeterman/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T20:18:50Z","updated_at":"2016-04-27T20:18:50Z","body":"@steenknudsen okay, I will look at a cleaner way to return initialized contexts. The last error is actually correct as GPUs don't usually play well across contexts. It works well when you want operations to run independent of one another. I will get to this tomorrow on setting up a context with multiple GPUs. But the core problem in this issue appears to be solved. I will need to propagate the changes to other functions besides matrix multiplication and though."}}