If CUDA_SEPARABLE_COMPILATION is ON, we need to also use
CUDA_COMPUTE_SEPARABLE_COMPILATION_OBJECT_FILE_NAME and
CUDA_LINK_SEPARABLE_COMPILATION_OBJECTS. Otherwise the flags are not passed
correctly during the linking phase. So we turn CUDA_SEPARABLE_COMPILATION OFF
to fix this problem.
)
SET_TARGET_PROPERTIES(${_library}_${_build_lowercase} PROPERTIES
- CUDA_SEPARABLE_COMPILATION TRUE
+ CUDA_SEPARABLE_COMPILATION FALSE
)
ENDIF()
)
SET_TARGET_PROPERTIES(${_target} PROPERTIES
- CUDA_SEPARABLE_COMPILATION TRUE
+ CUDA_SEPARABLE_COMPILATION FALSE
)
ENDIF()
ENDIF()
)
SET_TARGET_PROPERTIES(${_target} PROPERTIES
- CUDA_SEPARABLE_COMPILATION TRUE
+ CUDA_SEPARABLE_COMPILATION FALSE
)
ENDIF()
ENDIF()
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams