Blender Git Loki

Git Commits -> Revision c661515

Revision c661515 by Patrick Mours (blender-v2.83-release)
February 8, 2021, 14:50 (GMT)
Cycles: Add CUDA 11 build support

With this patch the build system checks whether the "CUDA10_NVCC_EXECUTABLE" CMake
variable is set and if so will use that to build sm_30 kernels. Similarily for sm_8x kernels it
checks "CUDA11_NVCC_EXECUTABLE". All other kernels are built using the default CUDA
toolkit. This makes it possible to use either the CUDA 10 or CUDA 11 toolkit by default and
only selectively use the other for the kernels where its a hard requirement.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D9179

Commit Details:

Full Hash: c661515090b189061c4388a335573ac3d5745925
Parent Commit: 8d02177
Committed By: Brecht Van Lommel
Lines Changed: +47, -16

5 Modified Paths:

/build_files/buildbot/worker_compile.py (+9, -5) (Diff)
/build_files/cmake/config/blender_release.cmake (+1, -1) (Diff)
/CMakeLists.txt (+1, -1) (Diff)
/intern/cycles/CMakeLists.txt (+1, -1) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+35, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021