{"action":"created","issue":{"url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/265","repository_url":"https://api.github.com/repos/RadeonOpenCompute/ROCm","labels_url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/265/comments","events_url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/265/events","html_url":"https://github.com/RadeonOpenCompute/ROCm/issues/265","id":276963545,"number":265,"title":"Performance issue with JCulpit Opencl-experiments Application on 1950X and 2 x Vega64","user":{"login":"rico666","id":30590090,"avatar_url":"https://avatars3.githubusercontent.com/u/30590090?v=4","gravatar_id":"","url":"https://api.github.com/users/rico666","html_url":"https://github.com/rico666","followers_url":"https://api.github.com/users/rico666/followers","following_url":"https://api.github.com/users/rico666/following{/other_user}","gists_url":"https://api.github.com/users/rico666/gists{/gist_id}","starred_url":"https://api.github.com/users/rico666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rico666/subscriptions","organizations_url":"https://api.github.com/users/rico666/orgs","repos_url":"https://api.github.com/users/rico666/repos","events_url":"https://api.github.com/users/rico666/events{/privacy}","received_events_url":"https://api.github.com/users/rico666/received_events","type":"User","site_admin":false},"labels":[{"id":639438449,"url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/labels/Bug_Performance_issue","name":"Bug_Performance_issue","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-11-27T10:12:06Z","updated_at":"2017-11-27T17:43:59Z","closed_at":null,"author_association":"NONE","body":"So I thought when going for ROCm, investing in top-end AMD hardware would be a good idea...\r\n\r\nSo far, the only bright spot is the 1950X performance. The OpenCL performance of the two Vega64 cards can only be classified as nonexistant.\r\n\r\nAfter two-man-weeks worth of hassle setting things up on a Ubuntu 17.10 to the point where clinfo at least doesn't crash, I'm trying to let some OpenCL programs run. And there are the results:\r\n\r\n```\r\nroot@amd:~/tools-master# ./cl-demo 10 1000000\r\nChoose platform:\r\n[0] Advanced Micro Devices, Inc.\r\nEnter choice: 0\r\nChoose device:\r\n[0] gfx900\r\n[1] gfx900\r\nEnter choice: 0\r\n---------------------------------------------------------------------\r\nNAME: gfx900\r\nVENDOR: Advanced Micro Devices, Inc.\r\nPROFILE: FULL_PROFILE\r\nVERSION: OpenCL 1.2 \r\n... yadda yadda ...\r\n*** Set CL_HELPER_NO_COMPILER_OUTPUT_NAG=1 to disable this message.\r\n0.000006 s\r\n0.019669 GB/s\r\nGOOD\r\n```\r\n0.019669 GB/s - wow. A 1080Ti does 170 GB/s there.\r\n\r\nTrying another benchmark program, gives me warnings right away:\r\n\r\n```\r\nbenchmarking... /tmp/AMD_4742_41/t_4742_43.cl:140:2: warning: null character ignored [-Wnull-character]\r\n}<U+0000>\r\n ^\r\n/tmp/AMD_4802_41/t_4802_43.cl:140:2: warning: null character ignored [-Wnull-character]\r\n}<U+0000>\r\n ^\r\n1 warning generated.\r\no*** Error in `./opencl-bench': corrupted double-linked list: 0x0000559cb21948b0 ***\r\n```\r\n\r\nOf course both programs work on everything from WX4100 over all the 1050/1060/1070/1080 and Quadro and Tesla cards.\r\n\r\nSo how am I going to improve things from here?\r\n\r\nFor starters, I'd like to know why https://github.com/jcupitt/opencl-experiments/tree/master/tools-master\r\n\r\ngives me 8500 times worse benchmark results on a Vega64 than on a 1080Ti. Maybe from there on things will get better.\r\n\r\nSome system info\r\n\r\n```\r\nroot@amd:~/tools-master# lspci -v | grep -i vga\r\n0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon RX Vega] (rev c1) (prog-if 00 [VGA controller])\r\n43:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega [Radeon RX Vega] (rev c1) (prog-if 00 [VGA controller])\r\n\r\nroot@amd:~/tools-master# uname -a\r\nLinux amd 4.11.0-kfd-compute-rocm-rel-1.6-180 #1 SMP Tue Oct 10 08:15:38 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\ncat /opt/rocm/.info/version -> 1.6.180\r\n```"},"comment":{"url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/comments/347263624","html_url":"https://github.com/RadeonOpenCompute/ROCm/issues/265#issuecomment-347263624","issue_url":"https://api.github.com/repos/RadeonOpenCompute/ROCm/issues/265","id":347263624,"user":{"login":"ekondis","id":6662801,"avatar_url":"https://avatars3.githubusercontent.com/u/6662801?v=4","gravatar_id":"","url":"https://api.github.com/users/ekondis","html_url":"https://github.com/ekondis","followers_url":"https://api.github.com/users/ekondis/followers","following_url":"https://api.github.com/users/ekondis/following{/other_user}","gists_url":"https://api.github.com/users/ekondis/gists{/gist_id}","starred_url":"https://api.github.com/users/ekondis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekondis/subscriptions","organizations_url":"https://api.github.com/users/ekondis/orgs","repos_url":"https://api.github.com/users/ekondis/repos","events_url":"https://api.github.com/users/ekondis/events{/privacy}","received_events_url":"https://api.github.com/users/ekondis/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T17:43:59Z","updated_at":"2017-11-27T17:43:59Z","author_association":"NONE","body":"Just try `make mixbench-ocl-ro` or  `make mixbench-ocl-alt` to build the opencl only benchmarks.\r\nAlso, uncomment the 3rd line in Makefile in case the header/library path cannot be found."}}
{"actor":{"display_login":"ekondis"}}