lion03 / thrust

Automatically exported from code.google.com/p/thrust
Apache License 2.0
0 stars 0 forks source link

TestReduceWithLargeTypes is broken with sm_11 #479

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
jhoberock@jhoberock-dt:~/dev/hg$ hg clone https://thrust.googlecode.com/hg 
thrust-reduce-with-large-types-bug
requesting all changes
adding changesets
adding manifests
adding file changes
added 1879 changesets with 10994 changes to 2561 files (+7 heads)
updating to branch default
813 files updated, 0 files merged, 0 files removed, 0 files unresolved
jhoberock@jhoberock-dt:~/dev/hg$ cd thrust-reduce-with-large-types-bug/testing/
jhoberock@jhoberock-dt:~/dev/hg/thrust-reduce-with-large-types-bug/testing$ 
scons arch=sm_11 tests=ReduceWithLargeTypes -j4
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
nvcc -o reduce_large.o -c -arch=sm_11 -Xcompiler 
-DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA -Xcompiler 
-DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -Xcompiler -O2 -Xcompiler -Wall -I 
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug -I 
/usr/local/cuda/include -I 
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/testing 
reduce_large.cu
nvcc -o testframework.o -c -arch=sm_11 -Xcompiler 
-DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA -Xcompiler 
-DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -Xcompiler -O2 -Xcompiler -Wall -I 
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug -I 
/usr/local/cuda/include -I 
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/testing 
testframework.cu
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(95): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/system/cuda/det
ail/reduce.inl(102): Warning: Cannot tell what pointer points to, assuming 
global memory space
/home/jhoberock/dev/hg/thrust-reduce-with-large-types-bug/thrust/detail/referenc
e.inl(117): Warning: Cannot tell what pointer points to, assuming global memory 
space
gcc -o tester reduce_large.o testframework.o -L/usr/local/cuda/lib64 -lstdc++ 
-lcudart
scons: done building targets.
jhoberock@jhoberock-dt:~/dev/hg/thrust-reduce-with-large-types-bug/testing$ 
./tester 
Running 1 unit tests.
F
================================================================
FAILURE: TestReduceWithLargeTypes
[reduce_large.cu:20] values are not equal. [type='FixedVector<int, 256u>']
================================================================
Totals: 1 failures, 0 known failures, 0 errors, and 0 passes.
Time:  0 minutes

jhoberock@jhoberock-dt:~/dev/hg/thrust-reduce-with-large-types-bug/testing$ cat 
/proc/driver/nvidia/gpus/0/information 
Model:       GeForce 8800 GT
IRQ:         16
Video BIOS:      62.92.12.00.04
Card Type:   PCI-E
DMA Size:    40 bits
DMA Mask:    0xffffffffff
Bus Location:    0000:01.00.0

Original issue reported on code.google.com by jaredhoberock on 1 Mar 2012 at 12:31

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 5e94e3ff2de9.

Original comment by wnbell on 2 Mar 2012 at 10:31