bonchi / back40computing

Automatically exported from code.google.com/p/back40computing
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Incorrect results with (key,value) = (unsigned long long,unsigned int) #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sorting the particular input sequence of unsigned long long values in file 
input_data gives incorrect output (It works on most other input however, I 
include one example working_data) 
2. Compiling and running the included sort_by_key.cu should reproduce

What is the expected output? What do you see instead?
I sorted them using thrust v1.2.1 as well, output is in the files
Expected:
  thrust_data
  thrust_indices
Received:
  b40c_data
  b40c_indices

What version of the product are you using? On what operating system?
Using rv208 of b40c and thrust v 1.2.1 compiled on a 64 bit linux machine, with 
a C2050 GPU and using nvcc 3.1.  
I tried 
  a) nvcc -O2 -arch=sm_20 -o sort-test sort_by_key.cu
  b) nvcc -o sort-test sort_by_key.cu

Original issue reported on code.google.com by scott.ro...@gmail.com on 15 Aug 2010 at 5:55

Attachments:

GoogleCodeExporter commented 9 years ago
The recent fix to the early-cut off has fixed the problem.
Thanks!

Original comment by scott.ro...@gmail.com on 27 Aug 2010 at 7:23

GoogleCodeExporter commented 9 years ago

Original comment by duane.me...@gmail.com on 8 Nov 2010 at 3:28