compile with: nvcc gbh.cu -arch=sm_20 -G -g -o gbh, run with: cuda-memcheck ./gbh 5 200 100 0 20 ../example/bus/ ../example/output_bus2, a bug while copying image from cpu to gpu, ========= Error: process didn't terminate successfully