-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tiny-cuda-nn: fix a couple of build issues
The CUDA architecture detection code in tiny-cuda-nn's Torch bindings convert CUDA capabilities to `int`s, which breaks with 9.0a. Filter 9.0a from the CUDA capabilities passed to TCNN_CUDA_ARCHITECTURES. Also patch the Torch bindings to replace the hardcoded `-std=c++14` argument to nvcc with `-std=c++17` for CUDA 11+ to fix the build.
- Loading branch information
1 parent
a3a6786
commit 4f6eafb
Showing
1 changed file
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters