{"action":"created","issue":{"url":"https://api.github.com/repos/hughperkins/cltorch/issues/71","repository_url":"https://api.github.com/repos/hughperkins/cltorch","labels_url":"https://api.github.com/repos/hughperkins/cltorch/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/hughperkins/cltorch/issues/71/comments","events_url":"https://api.github.com/repos/hughperkins/cltorch/issues/71/events","html_url":"https://github.com/hughperkins/cltorch/issues/71","id":151868530,"number":71,"title":"Are there any tunables that affect performance on different GPUs ?","user":{"login":"manjunaths","id":216373,"avatar_url":"https://avatars.githubusercontent.com/u/216373?v=3","gravatar_id":"","url":"https://api.github.com/users/manjunaths","html_url":"https://github.com/manjunaths","followers_url":"https://api.github.com/users/manjunaths/followers","following_url":"https://api.github.com/users/manjunaths/following{/other_user}","gists_url":"https://api.github.com/users/manjunaths/gists{/gist_id}","starred_url":"https://api.github.com/users/manjunaths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manjunaths/subscriptions","organizations_url":"https://api.github.com/users/manjunaths/orgs","repos_url":"https://api.github.com/users/manjunaths/repos","events_url":"https://api.github.com/users/manjunaths/events{/privacy}","received_events_url":"https://api.github.com/users/manjunaths/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-29T13:42:17Z","updated_at":"2016-04-29T14:25:12Z","closed_at":null,"body":"Greetings,\r\n\r\nI am trying to run cltorch on some OpenCL enabled devices. But the performance numbers are below my expectations. Are there any tunables(/magic numbers/variables) in the code of either clnn or cltorch that I can change to see if that makes a difference performance ?\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/hughperkins/cltorch/issues/comments/215734100","html_url":"https://github.com/hughperkins/cltorch/issues/71#issuecomment-215734100","issue_url":"https://api.github.com/repos/hughperkins/cltorch/issues/71","id":215734100,"user":{"login":"hughperkins","id":123560,"avatar_url":"https://avatars.githubusercontent.com/u/123560?v=3","gravatar_id":"","url":"https://api.github.com/users/hughperkins","html_url":"https://github.com/hughperkins","followers_url":"https://api.github.com/users/hughperkins/followers","following_url":"https://api.github.com/users/hughperkins/following{/other_user}","gists_url":"https://api.github.com/users/hughperkins/gists{/gist_id}","starred_url":"https://api.github.com/users/hughperkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hughperkins/subscriptions","organizations_url":"https://api.github.com/users/hughperkins/orgs","repos_url":"https://api.github.com/users/hughperkins/repos","events_url":"https://api.github.com/users/hughperkins/events{/privacy}","received_events_url":"https://api.github.com/users/hughperkins/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T14:25:12Z","updated_at":"2016-04-29T14:25:12Z","body":"> the performance numbers are below my expectations\r\n\r\non an nvidia device, generally speaking, one can get within about 2-4 times slower than the cuda version.  If you're slower than this, then there might be some optimization possible.  If you're within this regime, getting faster than this is pretty hard.\r\n\r\n> Are there any tunables(/magic numbers/variables)\r\n\r\nThere's not like a slider from 'slow' to 'fast', that you can move, as such :-)  Any optimizations will be on a case-by-case, layer-by-layer basis, and will generally involve code changes.\r\n\r\nYou can by the way see which layers are using most of your time by using `cltorch.setTiming(1)` and `cltorch.dumpTimings()`."}}