Skip to content

Commit

Permalink
Set Kokkos_ENABLE_Cuda_Relocatable_Device_Code=OFF by default for ATD…
Browse files Browse the repository at this point in the history
…M builds (#2464, #2580)

Neither SPARC's nor EMPIRE's builds of Trilinos enable RDC for various reasons
(see #2464 and #2580).  This option is currently OFF by default but I am
setting this explicitly to OFF by default to make this clear.

We can set up a seprate build that eanbles this (see #2598)

This option is already off by default in Trilinos but this just makes it more
explicit that the current ATMD configutation of Trilinos does not enable this.
  • Loading branch information
bartlettroscoe committed Apr 19, 2018
1 parent 71c51f2 commit 509eb83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/std/atdm/ATDMDevEnvSettings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ ATDM_SET_CACHE(Trilinos_ENABLE_OpenMP "${ATDM_USE_OPENMP}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_OpenMP "${ATDM_USE_OPENMP}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_Pthread "${ATDM_USE_PTHREADS}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_Cuda_UVM "${ATDM_USE_CUDA}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_Cuda_Relocatable_Device_Code OFF CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_CXX11_DISPATCH_LAMBDA ON CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_Cuda_Lambda "${ATDM_USE_CUDA}" CACHE BOOL)
ATDM_SET_CACHE(Kokkos_ENABLE_Debug_Bounds_Check "${ATDM_BOUNDS_CHECK}" CACHE BOOL)
Expand Down

0 comments on commit 509eb83

Please sign in to comment.