Skip to content
Snippets Groups Projects
Commit 79db5273 authored by Martin Schönherr's avatar Martin Schönherr
Browse files

simulation speedup by not using cuda compiler flag for all libraries but for the grid generator

parent 818d795c
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ macro(linkCuda)
INCLUDE_DIRECTORIES( ${CUDA_INCLUDE_DIRS} ${CUDA_CUT_INCLUDE_DIR})
set_property(TARGET ${targetName} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
#set_property(TARGET ${targetName} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
#set_property(TARGET ${targetName} PROPERTY CUDA_64_BIT_DEVICE_CODE ON)
#set(CUDA_NVCC_FLAGS "-G" CACHE TYPE INTERNAL FORCE)
......
......@@ -14,5 +14,7 @@ include(CMakePackage.cmake)
buildLib(${targetName} "${MY_SRCS}" "${linkDirectories}" "${libsToLink}" "${includeDirectories}")
groupTarget(${targetName} ${libraryFolder})
set_property(TARGET ${targetName} PROPERTY CUDA_SEPARABLE_COMPILATION ON)
# Specify the linking to 3rdParty libs
include(3rdPartyLinking.cmake)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment