1 | cmake .. -DTARGET_PLATFORM=macos_arm64 |
1 | set_source_files_properties(cuda/ntt/parameters.cuh PROPERTIES LANGUAGE CUDA) |
CUDA_SEPARABLE_COMPILATIONSeparable compilation allows the compilation of individual CUDA source files (*.cu) into separate object files, which can be linked together later. This can result in faster incremental builds, as changes to one CUDA source file may only require recompilation of that specific file.1
2find_package(CUDAToolkit REQUIRED)
set(CUDA_SEPARABLE_COMPILATION ON)