Merge branch 'blender-v4.4-release'
This commit is contained in:
@@ -673,7 +673,7 @@ if(NOT APPLE AND NOT (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "ARM64"))
|
||||
|
||||
option(WITH_CYCLES_CUDA_BINARIES "Build Cycles NVIDIA CUDA binaries" OFF)
|
||||
set(CYCLES_CUDA_BINARIES_ARCH
|
||||
sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 compute_75
|
||||
sm_30 sm_35 sm_37 sm_50 sm_52 sm_60 sm_61 sm_70 sm_75 sm_86 sm_89 sm_120 compute_75
|
||||
CACHE STRING "CUDA architectures to build binaries for"
|
||||
)
|
||||
option(WITH_CYCLES_CUDA_BUILD_SERIAL "\
|
||||
|
||||
@@ -11,7 +11,7 @@ buildbot:
|
||||
cuda11:
|
||||
version: '11.4.1'
|
||||
cuda12:
|
||||
version: '12.1.1'
|
||||
version: '12.8.0'
|
||||
hip:
|
||||
windows:
|
||||
version: '5.7.32000'
|
||||
|
||||
@@ -613,6 +613,14 @@ if(WITH_CYCLES_CUDA_BINARIES)
|
||||
else()
|
||||
message(STATUS "CUDA binaries for ${arch} require CUDA 11.1+, skipped.")
|
||||
endif()
|
||||
elseif(${arch} MATCHES ".*_10." OR ${arch} MATCHES ".*_120")
|
||||
if("${CUDA_VERSION}" GREATER_EQUAL 128) # Support for sm_100, sm_101, sm_120 was introduced in CUDA 12.8
|
||||
set(cuda_nvcc_executable ${CUDA_NVCC_EXECUTABLE})
|
||||
set(cuda_toolkit_root_dir ${CUDA_TOOLKIT_ROOT_DIR})
|
||||
set(cuda_version ${CUDA_VERSION})
|
||||
else()
|
||||
message(STATUS "CUDA binaries for ${arch} require CUDA 12.8+, skipped.")
|
||||
endif()
|
||||
else()
|
||||
set(cuda_nvcc_executable ${CUDA_NVCC_EXECUTABLE})
|
||||
set(cuda_toolkit_root_dir ${CUDA_TOOLKIT_ROOT_DIR})
|
||||
|
||||
@@ -62,8 +62,8 @@
|
||||
# define GPU_KERNEL_MAX_REGISTERS 48
|
||||
# endif
|
||||
|
||||
/* 7.x, 8.x */
|
||||
#elif __CUDA_ARCH__ <= 899
|
||||
/* 7.x, 8.x, 12.x */
|
||||
#elif __CUDA_ARCH__ <= 1299
|
||||
# define GPU_MULTIPRESSOR_MAX_REGISTERS 65536
|
||||
# define GPU_MULTIPROCESSOR_MAX_BLOCKS 32
|
||||
# define GPU_BLOCK_MAX_THREADS 1024
|
||||
|
||||
Reference in New Issue
Block a user