wow2006 / cudpp

Automatically exported from code.google.com/p/cudpp
Other
0 stars 0 forks source link

Sorting Error #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- unzip gtc_to_sort_test.tar.gz in NVIDIA_CUDA_SDK project folder
1. make (~/NVIDIA_CUDA_SDK/projects/gtc_to_sort_test/)
2. execution (~/NVIDIA_CUDA_SDK/bin/linux/release)
(e.g.: ./gtc_sort_test 
~/NVIDIA_CUDA_SDK/projects/gtc_to_sort_test/input/1.txt 5 30 32)
3.

What is the expected output? What do you see instead?
[extected output]
Finished reading input file.
mi: 161795, mgrid: 32449
Sorting : Success
0.0425751 s Checksum: 0.000000
Sorting : Success
0.0424822 s Checksum: 0.000000
Sorting : Success
0.0425396 s Checksum: 0.000000
Sorting : Success
0.0425428 s Checksum: 0.000000
Sorting : Success
0.0427907 s Checksum: 0.000000
Sorting : Success
0.042537 s Checksum: 0.000000
Sorting : Success
0.0425729 s Checksum: 0.000000
Sorting : Success
0.0425132 s Checksum: 0.000000
Sorting : Success
0.0426874 s Checksum: 0.000000
Sorting : Success
0.0428964 s Checksum: 0.000000
=== Performance summary: BENCH_GPU A0 5057 blocks 32 threads/block ===
  0.0286377 Gflops
  Min: 0.0424822 s -- 0.674 Gflop/s
  Mean: 0.0426137 s -- 0.672 Gflop/s
  Max: 0.0428964 s -- 0.668 Gflop/s
  Stddev: 0.000134837 s (+/- 0.3164%)

[output]
Finished reading input file.
mi: 161795, mgrid: 32449
Sorting : Success
0.0426965 s Checksum: 0.000000
Sorting : Success
0.0425468 s Checksum: 0.000000
Sorting : Success
0.0426379 s Checksum: 0.000000
Sorting : Success
0.0425811 s Checksum: 0.000000
Sorting : Success
0.0426666 s Checksum: 0.000000
Unordered key[983]: 138 > key[984]: 27
Sorting : FAIL
0.0436186 s Checksum: 0.000000
Unordered key[45]: 6392 > key[46]: 6384
Sorting : FAIL
0.0434239 s Checksum: 0.000000
Unordered key[147]: 3 > key[148]: 0
Sorting : FAIL
0.0435097 s Checksum: 0.000000
Unordered key[210]: 218 > key[211]: 0
Sorting : FAIL
0.0436116 s Checksum: 0.000000
Unordered key[132]: 14 > key[133]: 0
Sorting : FAIL
0.0435575 s Checksum: 0.000000
=== Performance summary: BENCH_GPU A0 5057 blocks 32 threads/block ===
  0.0286377 Gflops
  Min: 0.0425468 s -- 0.673 Gflop/s
  Mean: 0.043085 s -- 0.665 Gflop/s
  Max: 0.0436186 s -- 0.657 Gflop/s
  Stddev: 0.000488756 s (+/- 1.134%)

What version of the product are you using? On what operating system?
GTX280
Ubuntu 8.04
cuda 2.2

Please provide any additional information below.
Sorting error occurs sometimes like the ouput example above.
Besides, the same error occurs in cudpp1.1 and cudpp1.1.1 test program as 
well.

Original issue reported on code.google.com by leeher...@gmail.com on 19 Feb 2010 at 7:17

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the report. Can you test with CUDA 2.3 or 3.0?

Original comment by lakshmi....@gmail.com on 19 Feb 2010 at 2:27

GoogleCodeExporter commented 9 years ago
To test with CUDA 2.3 or 3.0, os upgrade(ubuntu 8.04 -> ubuntu9.04) is needed.
But, I'm not a server administrator.
I can test with CUDA 2.2.

Original comment by leeher...@gmail.com on 22 Feb 2010 at 5:44

GoogleCodeExporter commented 9 years ago
The radix sort you are using is an NVIDIA CUDA SDK sample, not part of CUDPP.  
This 
sample has been upgraded in the latest SDKs.  I suggest you update to the 
latest SDK 
and CUDA version to make sure you get all bug fixes.

Since this is not an issue with cudppSort(), I'm going to close this as invalid.

Original comment by harr...@gmail.com on 11 Mar 2010 at 3:03