-
Notifications
You must be signed in to change notification settings - Fork 432
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
Link Against tiny-cuda-nn in C++ Program #423
Comments
I just wanted to add that tiny-cuda-nn does build outside of my project, just not inside it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't see any instructions on how to link against tiny-cuda-nn. In fact, it doesn't even have an install. I saw that iNGP just uses add_subdirectory, but I get the following error when I do that with my program:
Inspecting the code around this error shows that there are some switches based on the CUDA arch, which might not be set correctly:
Based on the error, I don't think CUDA_ARCH is set correctly. I have an NVIDIA GTX3090 with CUDA 12.3. This corresponds to compute_86, which is greater than 60. I'm not sure why it's not finding the arch correctly. My CMakeList.txt file is pretty cursed though, as it is integrating Optix, CUDA, and Pytorch.
The text was updated successfully, but these errors were encountered: