{"action":"closed","issue":{"url":"https://api.github.com/repos/byzhang/cudpp/issues/48","labels_url":"https://api.github.com/repos/byzhang/cudpp/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/byzhang/cudpp/issues/48/comments","events_url":"https://api.github.com/repos/byzhang/cudpp/issues/48/events","html_url":"https://github.com/byzhang/cudpp/issues/48","id":59730925,"number":48,"title":"Sorting Error","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/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/byzhang/cudpp/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-04T00:22:57Z","updated_at":"2015-03-04T00:22:58Z","closed_at":"2015-03-04T00:22:58Z","body":"```\nWhat steps will reproduce the problem?\n- unzip gtc_to_sort_test.tar.gz in NVIDIA_CUDA_SDK project folder\n1. make (~/NVIDIA_CUDA_SDK/projects/gtc_to_sort_test/)\n2. execution (~/NVIDIA_CUDA_SDK/bin/linux/release)\n(e.g.: ./gtc_sort_test \n~/NVIDIA_CUDA_SDK/projects/gtc_to_sort_test/input/1.txt 5 30 32)\n3.\n\nWhat is the expected output? What do you see instead?\n[extected output]\nFinished reading input file.\nmi: 161795, mgrid: 32449\nSorting : Success\n0.0425751 s Checksum: 0.000000\nSorting : Success\n0.0424822 s Checksum: 0.000000\nSorting : Success\n0.0425396 s Checksum: 0.000000\nSorting : Success\n0.0425428 s Checksum: 0.000000\nSorting : Success\n0.0427907 s Checksum: 0.000000\nSorting : Success\n0.042537 s Checksum: 0.000000\nSorting : Success\n0.0425729 s Checksum: 0.000000\nSorting : Success\n0.0425132 s Checksum: 0.000000\nSorting : Success\n0.0426874 s Checksum: 0.000000\nSorting : Success\n0.0428964 s Checksum: 0.000000\n=== Performance summary: BENCH_GPU A0 5057 blocks 32 threads/block ===\n  0.0286377 Gflops\n  Min: 0.0424822 s -- 0.674 Gflop/s\n  Mean: 0.0426137 s -- 0.672 Gflop/s\n  Max: 0.0428964 s -- 0.668 Gflop/s\n  Stddev: 0.000134837 s (+/- 0.3164%)\n\n[output]\nFinished reading input file.\nmi: 161795, mgrid: 32449\nSorting : Success\n0.0426965 s Checksum: 0.000000\nSorting : Success\n0.0425468 s Checksum: 0.000000\nSorting : Success\n0.0426379 s Checksum: 0.000000\nSorting : Success\n0.0425811 s Checksum: 0.000000\nSorting : Success\n0.0426666 s Checksum: 0.000000\nUnordered key[983]: 138 > key[984]: 27\nSorting : FAIL\n0.0436186 s Checksum: 0.000000\nUnordered key[45]: 6392 > key[46]: 6384\nSorting : FAIL\n0.0434239 s Checksum: 0.000000\nUnordered key[147]: 3 > key[148]: 0\nSorting : FAIL\n0.0435097 s Checksum: 0.000000\nUnordered key[210]: 218 > key[211]: 0\nSorting : FAIL\n0.0436116 s Checksum: 0.000000\nUnordered key[132]: 14 > key[133]: 0\nSorting : FAIL\n0.0435575 s Checksum: 0.000000\n=== Performance summary: BENCH_GPU A0 5057 blocks 32 threads/block ===\n  0.0286377 Gflops\n  Min: 0.0425468 s -- 0.673 Gflop/s\n  Mean: 0.043085 s -- 0.665 Gflop/s\n  Max: 0.0436186 s -- 0.657 Gflop/s\n  Stddev: 0.000488756 s (+/- 1.134%)\n\nWhat version of the product are you using? On what operating system?\nGTX280\nUbuntu 8.04\ncuda 2.2\n\nPlease provide any additional information below.\nSorting error occurs sometimes like the ouput example above.\nBesides, the same error occurs in cudpp1.1 and cudpp1.1.1 test program as \nwell.\n```\n\nOriginal issue reported on code.google.com by `leeher...@gmail.com` on 19 Feb 2010 at 7:17\n\nAttachments:\n* [gtc_to_sort_test.tar.gz](https://storage.googleapis.com/google-code-attachments/cudpp/issue-48/comment-0/gtc_to_sort_test.tar.gz)\n"}}