{"action":"created","issue":{"url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/86","repository_url":"https://api.github.com/repos/cusplibrary/cusplibrary","labels_url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/86/comments","events_url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/86/events","html_url":"https://github.com/cusplibrary/cusplibrary/issues/86","id":303677578,"number":86,"title":"Bug ('parallel_for failed' error) in cusp/system/detail/generic/multiply.inl and a quick fix","user":{"login":"juhsi","id":25050074,"avatar_url":"https://avatars2.githubusercontent.com/u/25050074?v=4","gravatar_id":"","url":"https://api.github.com/users/juhsi","html_url":"https://github.com/juhsi","followers_url":"https://api.github.com/users/juhsi/followers","following_url":"https://api.github.com/users/juhsi/following{/other_user}","gists_url":"https://api.github.com/users/juhsi/gists{/gist_id}","starred_url":"https://api.github.com/users/juhsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhsi/subscriptions","organizations_url":"https://api.github.com/users/juhsi/orgs","repos_url":"https://api.github.com/users/juhsi/repos","events_url":"https://api.github.com/users/juhsi/events{/privacy}","received_events_url":"https://api.github.com/users/juhsi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T00:03:14Z","updated_at":"2018-03-14T07:31:25Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nWhen running cg/preconditioned-cg examples in cusp-cuda9 branch with DIA/CSR/ELL matrix formats on CUDA 9.1, I got the following error:\r\n\r\n> terminate called after throwing an instance of 'thrust::system::system_error'\r\n>    what():  parallel_for failed: invalid configuration argument\r\n> Aborted (core dumped)\r\n\r\nInterestingly, COO and HYB formats worked. I found `cusp::multiply` function somehow breaks the policy    for other functions such as `cusp::blas::axpby` and even `cusp::print` to work (all threw same error).\r\n\r\nA quick fix worked for me is to change in `cusp/system/detail/generic/multiply.inl` the following line\r\n> multiply(thrust::detail::derived_cast(exec), A, B, C, initialize, combine, reduce, format1, format2, format3);\r\n\r\ninto\r\n> multiply(exec, A, B, C, initialize, combine, reduce, format1, format2, format3);\r\n\r\nNot sure if this fix is robust, but hope this info is helpful for your official fix.\r\n\r\nRegards,\r\nRuxi"},"comment":{"url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/comments/372929130","html_url":"https://github.com/cusplibrary/cusplibrary/issues/86#issuecomment-372929130","issue_url":"https://api.github.com/repos/cusplibrary/cusplibrary/issues/86","id":372929130,"user":{"login":"sdalton1","id":1518027,"avatar_url":"https://avatars2.githubusercontent.com/u/1518027?v=4","gravatar_id":"","url":"https://api.github.com/users/sdalton1","html_url":"https://github.com/sdalton1","followers_url":"https://api.github.com/users/sdalton1/followers","following_url":"https://api.github.com/users/sdalton1/following{/other_user}","gists_url":"https://api.github.com/users/sdalton1/gists{/gist_id}","starred_url":"https://api.github.com/users/sdalton1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdalton1/subscriptions","organizations_url":"https://api.github.com/users/sdalton1/orgs","repos_url":"https://api.github.com/users/sdalton1/repos","events_url":"https://api.github.com/users/sdalton1/events{/privacy}","received_events_url":"https://api.github.com/users/sdalton1/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T07:31:25Z","updated_at":"2018-03-14T07:31:25Z","author_association":"COLLABORATOR","body":"Thanks, I updated the launch parameters used to execute functions which should resolve your error."}}
{"actor":{"display_login":"sdalton1"}}