Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit f2d4e1b1 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Do NVIDIA device link for executables

This should not really be necessary for our native cuda device, but the
kokkos library needs device link active because it pre-compiles code in
its library. Any executable with its own device code needs to run this
step. (I'm not sure why this is not happening by default.)
parent d3881e35
Pipeline #228005 passed with stage
......@@ -318,6 +318,8 @@ function(vtkm_add_target_information uses_vtkm_target)
# set the required target properties
set_target_properties(${targets} PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(${targets} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
set_target_properties(${targets} PROPERTIES CUDA_RESOLVE_DEVICE_SYMBOLS ON)
set_target_properties(${targets} PROPERTIES CUDA_RUNTIME_LIBRARY Static)
# CUDA_ARCHITECTURES added in CMake 3.18
set_target_properties(${targets} PROPERTIES CUDA_ARCHITECTURES OFF)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment