/* The trivial 'src/build_common.sh' creates a config * that must stay in sync with this file. */ #cmakedefine KOKKOS_FOR_SIERRA #if !defined(KOKKOS_FOR_SIERRA) #if !defined(KOKKOS_MACROS_HPP) || defined(KOKKOS_CORE_CONFIG_H) #error "Don't include KokkosCore_config.h directly; include Kokkos_Macros.hpp instead." #else #define KOKKOS_CORE_CONFIG_H #endif #cmakedefine KOKKOS_ENABLE_CUDA #cmakedefine KOKKOS_ENABLE_OPENMP #cmakedefine KOKKOS_ENABLE_PTHREAD #cmakedefine KOKKOS_ENABLE_QTHREADS #cmakedefine KOKKOS_ENABLE_SERIAL #cmakedefine KOKKOS_ENABLE_Winthread #cmakedefine KOKKOS_ENABLE_HWLOC #cmakedefine KOKKOS_ENABLE_HBWSPACE #cmakedefine KOKKOS_ENABLE_LIBRT #cmakedefine KOKKOS_ENABLE_DEBUG #cmakedefine KOKKOS_ENABLE_DEBUG_BOUNDS_CHECK #cmakedefine KOKKOS_ENABLE_DEBUG_DUALVIEW_MODIFY_CHECK #cmakedefine KOKKOS_ENABLE_PROFILING #cmakedefine KOKKOS_ENABLE_PROFILING_LOAD_PRINT #cmakedefine KOKKOS_ENABLE_AGGRESSIVE_VECTORIZATION #ifdef KOKKOS_ENABLE_CUDA #cmakedefine KOKKOS_ENABLE_CUDA_LDG_INTRINSIC // mfh 16 Sep 2014: If passed in on the command line, that overrides // any value of KOKKOS_USE_CUDA_UVM here. Doing this should prevent build // warnings like this one: // // packages/kokkos/core/src/KokkosCore_config.h:13:1: warning: "KOKKOS_USE_CUDA_UVM" redefined // // At some point, we should edit the test-build scripts in // Trilinos/cmake/ctest/drivers/perseus/, and take // -DKOKKOS_USE_CUDA_UVM from the command-line arguments there. I // hesitate to do that now, because I'm not sure if all the files are // including KokkosCore_config.h (or a header file that includes it) like // they should. #ifndef KOKKOS_USE_CUDA_UVM #cmakedefine KOKKOS_USE_CUDA_UVM #endif #cmakedefine KOKKOS_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE #cmakedefine KOKKOS_ENABLE_CUDA_LAMBDA #endif #cmakedefine KOKKOS_IMPL_CUDA_CLANG_WORKAROUND #ifndef __CUDA_ARCH__ #cmakedefine KOKKOS_ENABLE_ISA_X86_64 #cmakedefine KOKKOS_ENABLE_ISA_KNC #cmakedefine KOKKOS_ENABLE_ISA_POWERPCLE #endif #cmakedefine KOKKOS_ARCH_ARMV80 1 #cmakedefine KOKKOS_ARCH_ARMV81 1 #cmakedefine KOKKOS_ARCH_ARMV8_THUNDERX 1 #cmakedefine KOKKOS_ARCH_AVX 1 #cmakedefine KOKKOS_ARCH_AVX2 1 #cmakedefine KOKKOS_ARCH_AVX512MIC 1 #cmakedefine KOKKOS_ARCH_AVX512XEON 1 #cmakedefine KOKKOS_ARCH_KNC 1 #cmakedefine KOKKOS_ARCH_POWER8 1 #cmakedefine KOKKOS_ARCH_POWER9 1 #cmakedefine KOKKOS_ARCH_KEPLER 1 #cmakedefine KOKKOS_ARCH_KEPLER30 1 #cmakedefine KOKKOS_ARCH_KEPLER32 1 #cmakedefine KOKKOS_ARCH_KEPLER35 1 #cmakedefine KOKKOS_ARCH_KEPLER37 1 #cmakedefine KOKKOS_ARCH_MAXWELL 1 #cmakedefine KOKKOS_ARCH_MAXWELL50 1 #cmakedefine KOKKOS_ARCH_MAXWELL52 1 #cmakedefine KOKKOS_ARCH_MAXWELL53 1 #cmakedefine KOKKOS_ARCH_PASCAL 1 #cmakedefine KOKKOS_ARCH_PASCAL60 1 #cmakedefine KOKKOS_ARCH_PASCAL61 1 #cmakedefine KOKKOS_ARCH_VOLTA70 1 // TODO: These are currently not used in Kokkos. Should they be removed? #cmakedefine KOKKOS_ENABLE_MPI #cmakedefine KOKKOS_ENABLE_CUSPARSE // TODO: No longer options in Kokkos. Need to be removed. #cmakedefine KOKKOS_USING_DEPRECATED_VIEW #cmakedefine KOKKOS_ENABLE_CXX11 #endif // !defined(KOKKOS_FOR_SIERRA)