How_to_optimize_in_GPU icon indicating copy to clipboard operation
How_to_optimize_in_GPU copied to clipboard

reduce的make报错

Open shifang99 opened this issue 1 year ago • 0 comments

  • 报错现象:

./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。

shifang99 avatar Dec 28 '23 03:12 shifang99