mmizzle9 / cudpp

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

cudppSort error for a large array #50

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. tar -xzvf sort_test.tar.gz
2. cd sort_test
3. make
4. ./testsort 1000000

What is the expected output? What do you see instead?

expected :
before sort
radix sort : 0.00833379 s 1000000 elements

what I see :
before sort
radix sort : 0.00833379 s 1000000 elements
sort error 4 720476 541723

What version of the product are you using? On what operating system?

Using device 0: Quadroplex 2200 S4
Quadroplex 2200 S4; global mem: 4294705152B; compute v1.3; clock: 1296000 
kHz

cudpp 1.1.1
CUDA SDK 2.3 
on linux 2.6 kernel

$uname -a
Linux tesla 2.6.18-128.1.1.el5 #1 SMP Tue Feb 10 11:36:29 EST 2009 x86_64 
x86_64 x86_64 GNU/Linux

$cat /proc/driver/nvidia/version 
NVRM version: NVIDIA UNIX x86_64 Kernel Module  190.53  Wed Dec  9 
15:29:46 PST 2009
GCC version:  gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)

Please provide any additional information below.

This is a simple test to use cudppSort. 
For a small array, it passes the test, but for a large array, it fails.
It also fails in cudpp_testrig as follows.

$./cudpp_testrig -sort -n=1000000
Using device 0: Quadroplex 2200 S4
Quadroplex 2200 S4; global mem: 4294705152B; compute v1.3; clock: 1296000 
kHz
Running a sort of 1000000 unsigned int key-value pairs
Unordered key[3]:746051 > key[4]:16173
Incorrectly sorted value[0] (583160) 1153083146 != 460036
GPU test FAILED
Average execution time: 8.024296 ms

1 tests failed

If this is a driver version mismatch, please let me know which driver 
version is needed. Thank you.

Original issue reported on code.google.com by Eunjin...@gmail.com on 30 Mar 2010 at 12:06

Attachments:

GoogleCodeExporter commented 8 years ago
Not sure why this was filed twice.  Merging with issue 51.

Original comment by harr...@gmail.com on 31 Mar 2010 at 6:58