{"action":"created","issue":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1508","labels_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1508/labels{/name}","comments_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1508/comments","events_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1508/events","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1508","id":93470678,"number":1508,"title":"Raw-MD4-opencl fails self test","user":{"login":"frank-dittrich","id":2026819,"avatar_url":"https://avatars.githubusercontent.com/u/2026819?v=3","gravatar_id":"","url":"https://api.github.com/users/frank-dittrich","html_url":"https://github.com/frank-dittrich","followers_url":"https://api.github.com/users/frank-dittrich/followers","following_url":"https://api.github.com/users/frank-dittrich/following{/other_user}","gists_url":"https://api.github.com/users/frank-dittrich/gists{/gist_id}","starred_url":"https://api.github.com/users/frank-dittrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frank-dittrich/subscriptions","organizations_url":"https://api.github.com/users/frank-dittrich/orgs","repos_url":"https://api.github.com/users/frank-dittrich/repos","events_url":"https://api.github.com/users/frank-dittrich/events{/privacy}","received_events_url":"https://api.github.com/users/frank-dittrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"Sayantan2048","id":1608941,"avatar_url":"https://avatars.githubusercontent.com/u/1608941?v=3","gravatar_id":"","url":"https://api.github.com/users/Sayantan2048","html_url":"https://github.com/Sayantan2048","followers_url":"https://api.github.com/users/Sayantan2048/followers","following_url":"https://api.github.com/users/Sayantan2048/following{/other_user}","gists_url":"https://api.github.com/users/Sayantan2048/gists{/gist_id}","starred_url":"https://api.github.com/users/Sayantan2048/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sayantan2048/subscriptions","organizations_url":"https://api.github.com/users/Sayantan2048/orgs","repos_url":"https://api.github.com/users/Sayantan2048/repos","events_url":"https://api.github.com/users/Sayantan2048/events{/privacy}","received_events_url":"https://api.github.com/users/Sayantan2048/received_events","type":"User","site_admin":false},"milestone":null,"comments":18,"created_at":"2015-07-07T08:27:11Z","updated_at":"2015-07-08T21:38:47Z","closed_at":null,"body":"```\r\nDevice 0: AMD Opteron(TM) Processor 6272                 \r\n\r\nTesting: Raw-MD4-opencl [MD4 OpenCL]... FAILED (cmp_all(0))\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/comments/119739182","html_url":"https://github.com/magnumripper/JohnTheRipper/issues/1508#issuecomment-119739182","issue_url":"https://api.github.com/repos/magnumripper/JohnTheRipper/issues/1508","id":119739182,"user":{"login":"magnumripper","id":1268598,"avatar_url":"https://avatars.githubusercontent.com/u/1268598?v=3","gravatar_id":"","url":"https://api.github.com/users/magnumripper","html_url":"https://github.com/magnumripper","followers_url":"https://api.github.com/users/magnumripper/followers","following_url":"https://api.github.com/users/magnumripper/following{/other_user}","gists_url":"https://api.github.com/users/magnumripper/gists{/gist_id}","starred_url":"https://api.github.com/users/magnumripper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magnumripper/subscriptions","organizations_url":"https://api.github.com/users/magnumripper/orgs","repos_url":"https://api.github.com/users/magnumripper/repos","events_url":"https://api.github.com/users/magnumripper/events{/privacy}","received_events_url":"https://api.github.com/users/magnumripper/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T21:38:47Z","updated_at":"2015-07-08T21:38:47Z","body":"> I see that while CL_VERSION_1_2 is not defined, yet get_device_version(gpu_id) returns 120 when using devtoolset-3. So with the above patch, AMD gpus are using 1.1 codepath even though they could follow 1.2?\r\n\r\nI did that on purpose, because the host side stuff handling the 1.2 case is totally #ifdef'ed out (since no 1.2 headers were available at host build time) so we'd have a mismatch between host code and kernel. And that seemed to fix problems.\r\n\r\nI'm starting to think we'll need to dlopen() the lib. That will be messy.\r\n\r\n> While I was wondering how multiple vendors exists on same system, I found that libOpenCL.so.1 is supplied by khronos group and it is supposed to be vendor agnostic. What I don't understand is how could it be? Suppose clEnqueFillBuffer is defined for AMD but not for Nvidia. So while compiling a host code, if there are calls to clEnqueFillBuffer, then it should compile okay for AMD but not for Nvidia. How is this situation handled when both platforms with different opencl version exist on same system?\r\n\r\n> With intel releasing 2.0 SDKs, AMD on 1.2 while nV still using 1.1, this will only get uglier. Is there a solution to this problem ?\r\n\r\nBeats me. We need to find out."}}