{"action":"created","issue":{"url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/43","repository_url":"https://api.github.com/repos/amd/OpenCL-caffe","labels_url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/43/comments","events_url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/43/events","html_url":"https://github.com/amd/OpenCL-caffe/issues/43","id":152042733,"number":43,"title":"runtest: Failed to build program ","user":{"login":"aelnouby","id":8495451,"avatar_url":"https://avatars.githubusercontent.com/u/8495451?v=3","gravatar_id":"","url":"https://api.github.com/users/aelnouby","html_url":"https://github.com/aelnouby","followers_url":"https://api.github.com/users/aelnouby/followers","following_url":"https://api.github.com/users/aelnouby/following{/other_user}","gists_url":"https://api.github.com/users/aelnouby/gists{/gist_id}","starred_url":"https://api.github.com/users/aelnouby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelnouby/subscriptions","organizations_url":"https://api.github.com/users/aelnouby/orgs","repos_url":"https://api.github.com/users/aelnouby/repos","events_url":"https://api.github.com/users/aelnouby/events{/privacy}","received_events_url":"https://api.github.com/users/aelnouby/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-30T17:33:32Z","updated_at":"2016-05-06T17:36:56Z","closed_at":null,"body":"I can't get my GPU to work, I have `AMD Radeon HD 7500M/7600M Series` GPU \r\n\r\nClinfo output : https://gist.github.com/aelnouby/6cf790fbbdfd56b0727dee9fa24ac2c3\r\n\r\nmake runtest : https://gist.github.com/aelnouby/dff602e1133f5f78ac0a54bb2223a69c\r\n\r\nset_mode_gpu() : https://gist.github.com/aelnouby/d23d417b70ab8d3d6c4b4815f661751d"},"comment":{"url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/comments/217509203","html_url":"https://github.com/amd/OpenCL-caffe/issues/43#issuecomment-217509203","issue_url":"https://api.github.com/repos/amd/OpenCL-caffe/issues/43","id":217509203,"user":{"login":"aelnouby","id":8495451,"avatar_url":"https://avatars.githubusercontent.com/u/8495451?v=3","gravatar_id":"","url":"https://api.github.com/users/aelnouby","html_url":"https://github.com/aelnouby","followers_url":"https://api.github.com/users/aelnouby/followers","following_url":"https://api.github.com/users/aelnouby/following{/other_user}","gists_url":"https://api.github.com/users/aelnouby/gists{/gist_id}","starred_url":"https://api.github.com/users/aelnouby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aelnouby/subscriptions","organizations_url":"https://api.github.com/users/aelnouby/orgs","repos_url":"https://api.github.com/users/aelnouby/repos","events_url":"https://api.github.com/users/aelnouby/events{/privacy}","received_events_url":"https://api.github.com/users/aelnouby/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T17:36:56Z","updated_at":"2016-05-06T17:36:56Z","body":"Just now i have tried [this example](https://github.com/smistad/OpenCL-Getting-Started/)  by @smistad \r\n\r\nOuput of `gcc -I /opt/AMDAPPSDK-3.0/include -L/opt/AMDAPPSDK-3.0/lib/x86_64/ -o main  main.c -Wl,-rpath,/opt/AMDAPPSDK-3.0/lib/x86_64/ -lOpenCL\r\n`\r\n> main.c: In function ‘main’:\r\nmain.c:50:5: warning: ‘clCreateCommandQueue’ is deprecated [-Wdeprecated-declarations]\r\n     cl_command_queue command_queue = clCreateCommandQueue(context, device_id, 0, &ret);\r\n     ^\r\nIn file included from main.c:7:0:\r\n/opt/AMDAPPSDK-3.0/include/CL/cl.h:1359:1: note: declared here\r\n clCreateCommandQueue(cl_context                     /* context */,\r\n\r\nOutput of `./main` : \r\n\r\n> 0 + 1024 = 1024\r\n1 + 1023 = 1024\r\n2 + 1022 = 1024\r\n3 + 1021 = 1024\r\n4 + 1020 = 1024\r\n5 + 1019 = 1024\r\n6 + 1018 = 1024\r\n7 + 1017 = 1024\r\n8 + 1016 = 1024\r\n9 + 1015 = 1024\r\n10 + 1014 = 1024\r\n11 + 1013 = 1024\r\n12 + 1012 = 1024\r\n13 + 1011 = 1024\r\n............... till the end\r\n\r\nWhich i beleive is the correct behaviour\r\n"}}