CUDPP 1.1: cudppSort failing with cudpp testrig

7 views
Skip to first unread message

unrstuart

unread,
Mar 14, 2010, 4:50:56 PM3/14/10
to CUDPP
The sort is also failing with my own application, and the problem is
that it's only failing intermittently. My output is below. Am I
missing something? The driver, toolkit, and cudpp versions are all the
most recent.

stuart@blaze ~/cudpp_1.1/bin/linux/release $ uname -a
Linux blaze.idav.ucdavis.edu 2.6.18-128.1.10.el5 #1 SMP Thu May 7
10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

stuart@blaze ~/cudpp_1.1/bin/linux/release $ 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)

stuart@blaze ~/cudpp_1.1/bin/linux/release $ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There
is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
stuart@blaze ~/cudpp_1.1/bin/linux/release $ ~/device_output 0
Device 0:
Name: GeForce GTX 280
Max Threads Per Block: 512
Max Block Size: { 512 512 64 }
Max Grid Size: { 65535 65535 1 }
Shmem Per Block: 16 kB
Constant Memory: 64.000 kB
Warp Size: 32 threads.
Memory Pitch: 256 kB
Max Registers Per Block: 16384
Clock Rate: 1296000 kHz
Texture Alignment: 256
Total Memory: 1023.750 MB
Compute Capability: 1.3
# SMs: 30

stuart@blaze ~/cudpp_1.1/bin/linux/release $ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2009 NVIDIA Corporation
Built on Thu_Jul_30_09:24:36_PDT_2009
Cuda compilation tools, release 2.3, V0.2.1221

stuart@blaze ~/cudpp_1.1/bin/linux/release $ ./cudpp_testrig -sort
Using device 0: GeForce GTX 280
GeForce GTX 280; global mem: 1073479680B; compute v1.3; clock: 1296000
kHz
Running a sort of 39 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.147422 ms
Running a sort of 128 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.149164 ms
Running a sort of 256 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.150036 ms
Running a sort of 512 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.154117 ms
Running a sort of 513 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.153536 ms
Running a sort of 1000 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.159075 ms
Running a sort of 1024 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.158683 ms
Running a sort of 1025 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.396138 ms
Running a sort of 32768 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.670649 ms
Running a sort of 45537 unsigned int key-value pairs
GPU test PASSED
Average execution time: 0.874343 ms
Running a sort of 65536 unsigned int key-value pairs
GPU test PASSED
Average execution time: 1.044396 ms
Running a sort of 131072 unsigned int key-value pairs
GPU test PASSED
Average execution time: 1.488785 ms
Running a sort of 262144 unsigned int key-value pairs
GPU test PASSED
Average execution time: 2.560181 ms
Running a sort of 500001 unsigned int key-value pairs
Unordered key[14]:45234 > key[15]:21415
Incorrectly sorted value[0] (121983) 3886709509 != 14
GPU test FAILED
Average execution time: 4.321253 ms
Running a sort of 524288 unsigned int key-value pairs
Unordered key[3]:781 > key[4]:778
Incorrectly sorted value[0] (293105) 1713402696 != 161
GPU test FAILED
Average execution time: 4.510963 ms
Running a sort of 1048577 unsigned int key-value pairs
Unordered key[6]:33340 > key[7]:1872
Incorrectly sorted value[0] (27564) 881516485 != 1406
GPU test FAILED
Average execution time: 8.834621 ms
Running a sort of 1048576 unsigned int key-value pairs
Unordered key[0]:2664 > key[1]:1984
Incorrectly sorted value[0] (912025) 1981453829 != 2664
GPU test FAILED
Average execution time: 8.525049 ms
Running a sort of 1048581 unsigned int key-value pairs
Unordered key[3]:3847 > key[4]:2553
Incorrectly sorted value[1] (860153) 1004219749 != 1850
GPU test FAILED
Average execution time: 8.825544 ms
Running a sort of 2097152 unsigned int key-value pairs
Unordered key[1]:246606 > key[2]:138
Incorrectly sorted value[0] (23696) 85983257 != 118994
GPU test FAILED
Average execution time: 15.617854 ms
Running a sort of 4194304 unsigned int key-value pairs
Unordered key[7]:2549 > key[8]:2478
Incorrectly sorted value[4] (2146873) 2226907476 != 1886
GPU test FAILED
Average execution time: 30.503901 ms
Running a sort of 8388608 unsigned int key-value pairs
Unordered key[7]:2549 > key[8]:2478
Incorrectly sorted value[4] (2146873) 2226907476 != 1886
GPU test FAILED
Average execution time: 0.000000 ms

8 tests failed

unrstuart

unread,
Mar 14, 2010, 6:30:39 PM3/14/10
to CUDPP
turns out this was a driver problem. once i unloaded the driver and
reloaded it, everything worked fine.

Mark Harris

unread,
Mar 14, 2010, 6:35:21 PM3/14/10
to cu...@googlegroups.com
Ah, good.  I was going to ask you to try reinstalling the driver.

Thanks!
Mark

--
You received this message because you are subscribed to the Google Groups "CUDPP" group.
To post to this group, send email to cu...@googlegroups.com.
To unsubscribe from this group, send email to cudpp+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cudpp?hl=en.


Reply all
Reply to author
Forward
0 new messages