Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduce的make报错 #16

Open
shifang99 opened this issue Dec 28, 2023 · 0 comments
Open

reduce的make报错 #16

shifang99 opened this issue Dec 28, 2023 · 0 comments

Comments

@shifang99
Copy link

shifang99 commented Dec 28, 2023

  • 报错现象:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant