asherliu / thrust

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

expand example crashes with omp #470

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
jhoberock@jhoberock-dt:~/dev/hg/thrust-tot/examples$ scons backend=omp expand
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
nvcc -o expand.o -c -arch=sm_10 -Xcompiler 
-DTHRUST_DEVICE_BACKEND=THRUST_DEVICE_BACKEND_OMP -Xcompiler 
-DTHRUST_HOST_BACKEND=THRUST_HOST_BACKEND_CPP -Xcompiler -O2 -Xcompiler 
-fopenmp -Xcompiler -Wall -I /home/jhoberock/dev/hg/thrust-tot -I 
/usr/local/cuda/include expand.cu
gcc -o expand expand.o -L/usr/local/cuda/lib64 -lcudart -lgomp
scons: done building targets.
jhoberock@jhoberock-dt:~/dev/hg/thrust-tot/examples$ ./expand 
Segmentation fault

Original issue reported on code.google.com by jaredhoberock on 14 Feb 2012 at 10:17

GoogleCodeExporter commented 8 years ago
i see the problem

Original comment by jaredhoberock on 15 Feb 2012 at 11:13

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 332b62519a5c.

Original comment by jaredhoberock on 15 Feb 2012 at 11:38