{"action":"created","issue":{"url":"https://api.github.com/repos/CNugteren/CLBlast/issues/231","repository_url":"https://api.github.com/repos/CNugteren/CLBlast","labels_url":"https://api.github.com/repos/CNugteren/CLBlast/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/CNugteren/CLBlast/issues/231/comments","events_url":"https://api.github.com/repos/CNugteren/CLBlast/issues/231/events","html_url":"https://github.com/CNugteren/CLBlast/issues/231","id":283742072,"number":231,"title":"Tests fail on Debian stretch with beignet","user":{"login":"vi","id":173219,"avatar_url":"https://avatars2.githubusercontent.com/u/173219?v=4","gravatar_id":"","url":"https://api.github.com/users/vi","html_url":"https://github.com/vi","followers_url":"https://api.github.com/users/vi/followers","following_url":"https://api.github.com/users/vi/following{/other_user}","gists_url":"https://api.github.com/users/vi/gists{/gist_id}","starred_url":"https://api.github.com/users/vi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vi/subscriptions","organizations_url":"https://api.github.com/users/vi/orgs","repos_url":"https://api.github.com/users/vi/repos","events_url":"https://api.github.com/users/vi/events{/privacy}","received_events_url":"https://api.github.com/users/vi/received_events","type":"User","site_admin":false},"labels":[{"id":218168048,"url":"https://api.github.com/repos/CNugteren/CLBlast/labels/bug","name":"bug","color":"f9d0c4","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-12-21T01:04:02Z","updated_at":"2017-12-24T10:34:01Z","closed_at":null,"author_association":"NONE","body":"With `beignet 1.3.2-1` and CLBlast v1.2.0 it fails multiple tests:\r\n\r\n```\r\nTotal Test time (real) = 397.13 sec\r\n\r\nThe following tests FAILED:\r\n\t  5 - clblast_test_xdot (Failed)\r\n\t  6 - clblast_test_xdotu (Failed)\r\n\t  7 - clblast_test_xdotc (Failed)\r\n\t  8 - clblast_test_xnrm2 (Failed)\r\n\t  9 - clblast_test_xasum (Failed)\r\n\t 12 - clblast_test_xgbmv (OTHER_FAULT)\r\n\t 34 - clblast_test_xgemm (OTHER_FAULT)\r\n\t 37 - clblast_test_xsyrk (Failed)\r\n\t 38 - clblast_test_xherk (Failed)\r\n\t 39 - clblast_test_xsyr2k (Failed)\r\n\t 40 - clblast_test_xher2k (Failed)\r\n\t 46 - clblast_test_xgemmbatched (OTHER_FAULT)\r\n```\r\n\r\nAdditionally [matmul](https://github.com/attractivechaos/matmul) build with NETLIB CLBlast fails multiplication if matrix is big enough:\r\n\r\n```\r\n$ ./matmul_cl -n 191 -a 6\r\n...\r\nCentral cell: 42.8968\r\n$ ./matmul_cl -n 192 -a 6\r\n...\r\nCentral cell: 0\r\n```\r\n\r\nOn master branch it also fails."},"comment":{"url":"https://api.github.com/repos/CNugteren/CLBlast/issues/comments/353777260","html_url":"https://github.com/CNugteren/CLBlast/issues/231#issuecomment-353777260","issue_url":"https://api.github.com/repos/CNugteren/CLBlast/issues/231","id":353777260,"user":{"login":"CNugteren","id":1162108,"avatar_url":"https://avatars3.githubusercontent.com/u/1162108?v=4","gravatar_id":"","url":"https://api.github.com/users/CNugteren","html_url":"https://github.com/CNugteren","followers_url":"https://api.github.com/users/CNugteren/followers","following_url":"https://api.github.com/users/CNugteren/following{/other_user}","gists_url":"https://api.github.com/users/CNugteren/gists{/gist_id}","starred_url":"https://api.github.com/users/CNugteren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CNugteren/subscriptions","organizations_url":"https://api.github.com/users/CNugteren/orgs","repos_url":"https://api.github.com/users/CNugteren/repos","events_url":"https://api.github.com/users/CNugteren/events{/privacy}","received_events_url":"https://api.github.com/users/CNugteren/received_events","type":"User","site_admin":false},"created_at":"2017-12-24T10:34:01Z","updated_at":"2017-12-24T10:34:01Z","author_association":"OWNER","body":"OK, thanks for testing. Let's first try to resolve the `OTHER_FAULT` issues, and then later the one that report regular correctness issues. For three of those (GBMV, GEMM, and GEMMBATCHED), I see quite curious output, e.g.:\r\n```\r\n* Running on OpenCL device 'Intel(R) HD Graphics IvyBridge M GT2'.\r\n* Starting tests for the 'SGBMV' routine. Legend:\r\n   : -> Test produced correct results\r\n   . -> Test returned the correct error code\r\n   X -> Test produced incorrect results\r\n   / -> Test returned an incorrect error code\r\n   \\ -> Test not executed: OpenCL-kernel compilation error\r\n   o -> Test not executed: Unsupported precision\r\n   - -> Test not completed: Reference CBLAS doesn't output error codes\r\n* Testing with error margins of 0.5% (relative) and 0.001 (absolute)\r\n* Testing 'regular behaviour' for '101 (row-major) 111 (regular)':\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::\r\n   Pass rate 100.0%: 288 passed / 0 skipped / 0 failed\r\n* Testing 'regular behaviour' for '101 (row-major) 112 (transposed)':\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::\r\n   Pass rate 100.0%: 288 passed / 0 skipped / 0 failed\r\n* Testing 'regular behaviour' for '102 (col-major) 111 (regular)':\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::\r\n   Pass rate 100.0%: 288 passed / 0 skipped / 0 failed\r\n* Testing 'regular behaviour' for '102 (col-major) 112 (transposed)':\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\r\n   ::::::::::::::::::::::::::::beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware\r\n(If you have multiple ICDs installed and OpenCL works, you can ignore this message)\r\nterminate called after throwing an instance of 'clblast::CLCudaAPIError'\r\n  what():  OpenCL error: clGetDeviceIDs: -1\r\nAborted\r\n```\r\nThis error message is from Beignet, not from CLBlast. It suddenly cannot find your device anymore, which is strange. This seems to suggest something is wrong with your OpenCL set-up, or there is perhaps a bug in beignet? I could not find any issue on the Beignet Bugzilla tracker, but perhaps you can search and file one? First also check if it is reproducible, i.e. does it always fail at exactly the same test?\r\n\r\nThen there is another issue with `clblast_test_preprocessor` it seems, but this seems to be a linker issue. I can't reproduce that myself on a Debian 9 / beignet system, tried with Clang and GCC, but both seem to work fine. Which compiler are you using?\r\n"}}
{"actor":{"display_login":"CNugteren"}}