Blender Git Loki

Git Commits -> Revision 92f7943

February 8, 2021, 12:35 (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: 92f794320477240d1fd84edc8cb7089f4a10fae7
Parent Commit: f00ba34
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