./How_to_optimize_in_GPU/reduce# make
nvcc -o bin/reduce_v0 reduce_v0_baseline.cu
/usr/bin/ld: cannot open output file bin/reduce_v0: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:2: all] Error 1
进入到reduce目录之后,在执行make之前,先执行 mkdir bin。
./How_to_optimize_in_GPU/reduce# makenvcc -o bin/reduce_v0 reduce_v0_baseline.cu/usr/bin/ld: cannot open output file bin/reduce_v0: No such file or directorycollect2: error: ld returned 1 exit statusmake: *** [Makefile:2: all] Error 1进入到reduce目录之后,在执行make之前,先执行 mkdir bin。