{"action":"created","issue":{"url":"https://api.github.com/repos/byzhang/cudpp/issues/42","labels_url":"https://api.github.com/repos/byzhang/cudpp/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/cudpp/issues/42/comments","events_url":"https://api.github.com/repos/byzhang/cudpp/issues/42/events","html_url":"https://github.com/byzhang/cudpp/issues/42","id":59730911,"number":42,"title":"Wrong Results from multiScan for large number of rows","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/byzhang/cudpp/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Component-Logic","name":"Component-Logic","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Milestone-Release2.0","name":"Milestone-Release2.0","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/OpSys-Windows","name":"OpSys-Windows","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Usability","name":"Usability","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-04T00:22:51Z","updated_at":"2015-03-04T00:22:52Z","closed_at":"2015-03-04T00:22:51Z","body":"```\nWhat steps will reproduce the problem?\nI've included a function that runs the CUDPP multiScan and checks it\nagainst what I think should appear using the CPU. For me it fails with a\ndatasize of 50000 and 100 rows.\n\nWhat is the expected output? What do you see instead?\nI would expect the test to pass. If you use the cudppScan inside the For\nloop instead the test passes.\n\nWhat version of the product are you using? On what operating system?\n\nUsing CUDPP 1.1 on Vista 64-bit with Visual Studio 2008. I'm using CUDA\n2.2. I won't have time to test it using 2.3 as I'm about to leave the\ncountry so maybe someone can confirm that it's still a fault with 2.3.\n\nPlease provide any additional information below.\n\nI believe the problem lies in the scan_cta.cu file. In the scanCTA\nfunction, a syncthreads is called only in emulation mode for backwards\nscans. I think this needs to get called for device mode as well. At least\nthat fixed the problem for me. It looks like there would be race conditions\nfor large numbers of threads.\n\n```\n\nOriginal issue reported on code.google.com by `inthecro...@gmail.com` on 29 Sep 2009 at 12:00\n\nAttachments:\n* [sumTest.cu](https://storage.googleapis.com/google-code-attachments/cudpp/issue-42/comment-0/sumTest.cu)\n"},"comment":{"url":"https://api.github.com/repos/byzhang/cudpp/issues/comments/77071977","html_url":"https://github.com/byzhang/cudpp/issues/42#issuecomment-77071977","issue_url":"https://api.github.com/repos/byzhang/cudpp/issues/42","id":77071977,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T00:22:51Z","updated_at":"2015-03-04T00:22:51Z","body":"\n\nOriginal comment by `harr...@gmail.com` on 19 Nov 2009 at 1:38\n* Added labels: **Priority-High**, **OpSys-Windows**, **Component-Logic**, **Usability**\n* Removed labels: **Priority-Medium**"}}