{"action":"created","issue":{"url":"https://api.github.com/repos/hughperkins/cltorch/issues/27","labels_url":"https://api.github.com/repos/hughperkins/cltorch/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/hughperkins/cltorch/issues/27/comments","events_url":"https://api.github.com/repos/hughperkins/cltorch/issues/27/events","html_url":"https://github.com/hughperkins/cltorch/issues/27","id":113461308,"number":27,"title":"cltorch.test failure ... Intel Xeon Phi (MIC) ","user":{"login":"codeaudit","id":11135016,"avatar_url":"https://avatars.githubusercontent.com/u/11135016?v=3","gravatar_id":"","url":"https://api.github.com/users/codeaudit","html_url":"https://github.com/codeaudit","followers_url":"https://api.github.com/users/codeaudit/followers","following_url":"https://api.github.com/users/codeaudit/following{/other_user}","gists_url":"https://api.github.com/users/codeaudit/gists{/gist_id}","starred_url":"https://api.github.com/users/codeaudit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeaudit/subscriptions","organizations_url":"https://api.github.com/users/codeaudit/orgs","repos_url":"https://api.github.com/users/codeaudit/repos","events_url":"https://api.github.com/users/codeaudit/events{/privacy}","received_events_url":"https://api.github.com/users/codeaudit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-26T22:06:09Z","updated_at":"2015-11-11T10:25:07Z","closed_at":"2015-11-11T10:25:07Z","body":"luajit -l cltorch -e 'cltorch.test()'\r\nrunning tests...\r\naftter requiring cltorch.unit_storage\r\nRunning 2 tests\r\n|_  ==> test_basic\r\nUsing Intel(R) Corporation , OpenCL platform: Intel(R) OpenCL\r\nUsing OpenCL device: Intel(R) Many Integrated Core Acceleration Card\r\n*|  ==> test_get  \r\n/tmp/luarocks_cltorch-scm-1-5694/cltorch/cltorch/src/lib/THClStorage.cpp build log: \r\nCompilation started\r\nCompilation done\r\nLinking started\r\nLinking done\r\nDevice build started\r\nDevice build done\r\nBuild started\r\nKernel <THClStorageSet> was successfully vectorized (16)\r\nDone.\r\n/tmp/luarocks_cltorch-scm-1-5694/cltorch/cltorch/src/lib/THClStorage.cpp build log: \r\nCompilation started\r\nCompilation done\r\nLinking started\r\nLinking done\r\nDevice build started\r\nDevice build done\r\nBuild started\r\nKernel <THClStorageGet> was successfully vectorized (16)\r\nDone.\r\n*_  ==> Done    \r\n\r\nCompleted 15 asserts in 2 tests with 8 errors\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n1\r\n EQ(==) violation   val=\r\n[torch.ClStorage of size 0]\r\n, condition=[torch.ClStorage of size 0]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:25: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 4\r\n 9\r\n 2\r\n[torch.ClStorage of size 3]\r\n, condition=\r\n 4\r\n 9\r\n 2\r\n[torch.ClStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:27: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 1.5000\r\n 2.4000\r\n 5.3000\r\n[torch.ClStorage of size 3]\r\n, condition=\r\n 1.5000\r\n 2.4000\r\n 5.3000\r\n[torch.ClStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:28: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 7\r\n 7\r\n 7\r\n[torch.ClStorage of size 3]\r\n, condition=\r\n 7\r\n 7\r\n 7\r\n[torch.ClStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:32: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 1.5000\r\n 2.4000\r\n 5.3000\r\n[torch.ClStorage of size 3]\r\n, condition=\r\n 1.5000\r\n 2.4000\r\n 5.3000\r\n[torch.ClStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:36: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 4\r\n 9\r\n 2\r\n[torch.DoubleStorage of size 3]\r\n, condition=\r\n 4\r\n 9\r\n 2\r\n[torch.DoubleStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:41: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 4\r\n 9\r\n 2\r\n[torch.ClStorage of size 3]\r\n, condition=\r\n 4\r\n 9\r\n 2\r\n[torch.ClStorage of size 3]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:51: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\ntest_basic\r\n\r\n EQ(==) violation   val= 1\r\n 1\r\n 1\r\n 1\r\n 1\r\n[torch.ClStorage of size 5]\r\n, condition=\r\n 1\r\n 1\r\n 1\r\n 1\r\n 1\r\n[torch.ClStorage of size 5]\r\n\r\n\t/home/ceperez/torch/install/share/lua/5.1/torch/Tester.lua:42: in function 'asserteq'\r\n\t...rez/torch/install/share/lua/5.1/cltorch/unit_storage.lua:58: in function 'v'\r\n\r\n--------------------------------------------------------------------------------\r\n#tester.errors\t8\r\nres\tfalse\r\nluajit: /home/ceperez/torch/install/share/lua/5.1/cltorch/Test.lua:10: assertion failed!\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/home/ceperez/torch/install/share/lua/5.1/cltorch/Test.lua:10: in function 'test'\r\n\t(command line):1: in main chunk\r\n\t[C]: at 0x004064d0"},"comment":{"url":"https://api.github.com/repos/hughperkins/cltorch/issues/comments/155728010","html_url":"https://github.com/hughperkins/cltorch/issues/27#issuecomment-155728010","issue_url":"https://api.github.com/repos/hughperkins/cltorch/issues/27","id":155728010,"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":"2015-11-11T10:25:07Z","updated_at":"2015-11-11T10:25:07Z","body":"Closing this.  If still an issue, please go ahead and reopen."}}