Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/device/CMakeLists.txt
| Show All 39 Lines | if(WITH_CYCLES_DEVICE_HIP AND WITH_HIP_DYNLOAD) | ||||
| list(APPEND INC | list(APPEND INC | ||||
| ../../../extern/hipew/include | ../../../extern/hipew/include | ||||
| ) | ) | ||||
| add_definitions(-DWITH_HIP_DYNLOAD) | add_definitions(-DWITH_HIP_DYNLOAD) | ||||
| endif() | endif() | ||||
| set(SRC | set(SRC | ||||
| device.cpp | device.cpp | ||||
| device_denoise.cpp | denoise.cpp | ||||
| device_graphics_interop.cpp | graphics_interop.cpp | ||||
| device_kernel.cpp | kernel.cpp | ||||
| device_memory.cpp | memory.cpp | ||||
| device_queue.cpp | queue.cpp | ||||
| ) | ) | ||||
| set(SRC_CPU | set(SRC_CPU | ||||
| cpu/device.cpp | cpu/device.cpp | ||||
| cpu/device.h | cpu/device.h | ||||
| cpu/device_impl.cpp | cpu/device_impl.cpp | ||||
| cpu/device_impl.h | cpu/device_impl.h | ||||
| cpu/kernel.cpp | cpu/kernel.cpp | ||||
| ▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | set(SRC_OPTIX | ||||
| optix/device_impl.h | optix/device_impl.h | ||||
| optix/queue.cpp | optix/queue.cpp | ||||
| optix/queue.h | optix/queue.h | ||||
| optix/util.h | optix/util.h | ||||
| ) | ) | ||||
| set(SRC_HEADERS | set(SRC_HEADERS | ||||
| device.h | device.h | ||||
| device_denoise.h | denoise.h | ||||
| device_graphics_interop.h | graphics_interop.h | ||||
| device_memory.h | memory.h | ||||
| device_kernel.h | kernel.h | ||||
| device_queue.h | queue.h | ||||
| ) | ) | ||||
| set(LIB | set(LIB | ||||
| cycles_kernel | cycles_kernel | ||||
| cycles_util | cycles_util | ||||
| ${CYCLES_GL_LIBRARIES} | ${CYCLES_GL_LIBRARIES} | ||||
| ) | ) | ||||
| Show All 21 Lines | if(WITH_CYCLES_DEVICE_CUDA) | ||||
| add_definitions(-DWITH_CUDA) | add_definitions(-DWITH_CUDA) | ||||
| endif() | endif() | ||||
| if(WITH_CYCLES_DEVICE_HIP) | if(WITH_CYCLES_DEVICE_HIP) | ||||
| add_definitions(-DWITH_HIP) | add_definitions(-DWITH_HIP) | ||||
| endif() | endif() | ||||
| if(WITH_CYCLES_DEVICE_OPTIX) | if(WITH_CYCLES_DEVICE_OPTIX) | ||||
| add_definitions(-DWITH_OPTIX) | add_definitions(-DWITH_OPTIX) | ||||
| endif() | endif() | ||||
| if(WITH_CYCLES_DEVICE_MULTI) | |||||
| add_definitions(-DWITH_MULTI) | |||||
| endif() | |||||
| if(WITH_OPENIMAGEDENOISE) | if(WITH_OPENIMAGEDENOISE) | ||||
| list(APPEND LIB | list(APPEND LIB | ||||
| ${OPENIMAGEDENOISE_LIBRARIES} | ${OPENIMAGEDENOISE_LIBRARIES} | ||||
| ) | ) | ||||
| endif() | endif() | ||||
| include_directories(${INC}) | include_directories(${INC}) | ||||
| Show All 19 Lines | |||||