-
Notifications
You must be signed in to change notification settings - Fork 430
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
build failing #3
Comments
Hi there, more information about your system would be helpful:
|
Another one that might be helpful, actually: which version of CMake are you running? (This is useful, because CMake has recently changed a lot about their CUDA support.) |
Ah yes sorry... That would have been smart of me. Ubuntu 20.04 I note that if I role back to commit cdb419d it builds and runs as expected. |
That's really useful information, thank you! I have a very similar setup here with the main difference being that I only have a single RTX 3090. This leads me to believe that the automatic GPU architecture detection/treatment in the CMake project file is problematic when multiple GPUs with different architectures are present. To verify, could you try the following two steps?
with the single line
in CMakeLists.txt and see if that fixes the problem on your end. Thank you! |
Replacing the block of code did fix the issue..... Thanks for this great bit of code! |
Hi @rathken . Could you try compiling again with the latest version of this repository? I've tried to fix the multi-GPU issue and would like to make sure. Thanks! |
Will do today. |
It took a while to build, but it built without any issues.... |
Amazing, thank you very much for testing! |
Hi everyone.
but a don't find the block of code that your comment in CMakelist.txt:
Only I find the: and replace for: And the new error is similar to the first one:
I have: Thx for your advice |
Build is failing
[ 5%] Building CUDA object src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o
nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified
make[2]: *** [src/CMakeFiles/tiny-cuda-nn.dir/build.make:76: src/CMakeFiles/tiny-cuda-nn.dir/common.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:134: src/CMakeFiles/tiny-cuda-nn.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: