pierotofy / OpenSplat

Production-grade 3D gaussian splatting with CPU/GPU support for Windows, Mac and Linux 🚀
https://antimatter15.com/splat/?url=https://splat.uav4geo.com/banana.splat
GNU Affero General Public License v3.0
924 stars 87 forks source link

Offload TORCH_CUDA_ARCH_LIST #91

Closed pfxuan closed 6 months ago

pfxuan commented 6 months ago

This PR simplifies the build configuration for CUDA architecture. With CMake 3.24, the built-in architecture detection method native is introduced via CUDA_ARCHITECTURES, which we can consider later.

pierotofy commented 6 months ago

Nice, this should make it easier to target different CUDA versions. Thanks @pfxuan !