Blender Git Loki

Git Commits -> Revision 3bb3b26

Revision 3bb3b26 by Patrick Mours (master)
October 13, 2020, 13:15 (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: 3bb3b26c8fdf44bf317a1dd16653f77ebe7757d8
Parent Commit: ae60934
Lines Changed: +50, -11

5 Modified Paths:

/build_files/buildbot/worker_compile.py (+12, -0) (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