Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/CMakeLists.txt
| Show First 20 Lines • Show All 373 Lines • ▼ Show 20 Lines | message(WARNING | ||||
| "build may succeed but only CUDA 10.1 to 11.4 are officially supported") | "build may succeed but only CUDA 10.1 to 11.4 are officially supported") | ||||
| endif() | endif() | ||||
| # build for each arch | # build for each arch | ||||
| set(cuda_sources device/cuda/kernel.cu | set(cuda_sources device/cuda/kernel.cu | ||||
| ${SRC_KERNEL_HEADERS} | ${SRC_KERNEL_HEADERS} | ||||
| ${SRC_KERNEL_DEVICE_GPU_HEADERS} | ${SRC_KERNEL_DEVICE_GPU_HEADERS} | ||||
| ${SRC_KERNEL_DEVICE_CUDA_HEADERS} | ${SRC_KERNEL_DEVICE_CUDA_HEADERS} | ||||
| ${SRC_KERNEL_DEVICE_METAL_HEADERS} | |||||
| ${SRC_UTIL_HEADERS} | ${SRC_UTIL_HEADERS} | ||||
| ) | ) | ||||
| set(cuda_cubins) | set(cuda_cubins) | ||||
| macro(CYCLES_CUDA_KERNEL_ADD arch prev_arch name flags sources experimental) | macro(CYCLES_CUDA_KERNEL_ADD arch prev_arch name flags sources experimental) | ||||
| if(${arch} MATCHES "compute_.*") | if(${arch} MATCHES "compute_.*") | ||||
| set(format "ptx") | set(format "ptx") | ||||
| else() | else() | ||||
| ▲ Show 20 Lines • Show All 423 Lines • Show Last 20 Lines | |||||