]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a bug in cmake when using CUDA. 5405/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 6 Nov 2017 02:12:55 +0000 (21:12 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 6 Nov 2017 02:12:55 +0000 (21:12 -0500)
commit57229a0e1d66c505935042a76d760b81e0e273a6
tree8228feec85170666464e4b63be4eb50c96161675
parent7242245fe2c2b29dcc394cc715668ae5fc84c208
Fix a bug in cmake when using CUDA.

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.
cmake/macros/macro_deal_ii_add_library.cmake
cmake/macros/macro_deal_ii_insource_setup_target.cmake
cmake/macros/macro_deal_ii_setup_target.cmake

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


Typeset in Trocchi and Trocchi Bold Sans Serif.