CMake Options¶
Test Options¶
KokkosKernels_ENABLE_TESTS
: BOOLWhether to build tests.
Default: OFF
KokkosKernels_TEST_ETI_ONLY
: BOOLWhether to restrict testing to ETI types.
Default: ON
KokkosKernels_ENABLE_PERFTESTS
: STRINGWhether to build performance tests
Default: OFF
KokkosKernels_ENABLE_TESTS_AND_PERFSUITE
: BOOLWhether to build performance tests and suite.
Default: OFF
Examples Options¶
KokkosKernels_ENABLE_EXAMPLES
: BOOLWhether to build examples.
Default: OFF
Component Options¶
KokkosKernels_ENABLED_COMPONENTS
: BOOLA list of components to enable in testing and building
Default: ALL
Valid: BATCHED BLAS LAPACK GRAPH SPARSE ALL
KokkosKernels_ENABLE_ALL_COMPONENTS
: BOOLKokkosKernels_ENABLE_COMPONENT_BATCHED
: BOOLKokkosKernels_ENABLE_COMPONENT_BLAS
: BOOLKokkosKernels_ENABLE_COMPONENT_LAPACK
: BOOLKokkosKernels_ENABLE_COMPONENT_SPARSE
: BOOLKokkosKernels_ENABLE_COMPONENT_GRAPH
: BOOLKokkosKernels_ENABLE_COMPONENT_ODE
: BOOL
ETI Options¶
KokkosKernels_INST_HALF
: BOOLWhether to pre instantiate kernels for the scalar type Kokkos::Experimental::half_t. Disabling this may increase build times
Default: OFF
KokkosKernels_INST_BHALF
: BOOLWhether to pre instantiate kernels for the scalar type Kokkos::Experimental::bhalf_t. Disabling this may increase build times
Default: OFF
KokkosKernels_ETI_ONLY
: BOOLWhether to restrict availability of kernels to ETI types only. Turning this on guarantees that kernels are never built inside of object files which simply call KokkosKernels functions.
Default: OFF
KokkosKernels_INST_COMPLEX_DOUBLE
: BOOLWhether to pre instantiate kernels for the scalar type complex<double>. Disabling this may increase build times.
Default: OFF or unless enabled during a Trilinos build with Trilinos_ENABLE_COMPLEX_DOUBLE.
KokkosKernels_INST_COMPLEX_FLOAT
: BOOLWhether to pre instantiate kernels for the scalar type complex<float>. Disabling this may increase build times.
Default: OFF or unless enabled during a Trilinos build with Trilinos_ENABLE_COMPLEX_FLOAT.
KokkosKernels_INST_DOUBLE
: BOOLWhether to pre instantiate kernels for the scalar type double. This option is KokkosKernels_INST_DOUBLE=ON by default. Disabling this may increase build times.
Default: ON
KokkosKernels_INST_EXECSPACE_OPENMP
: BOOLWhether to pre instantiate kernels for the execution space Kokkos::OpenMP. Disabling this when Kokkos_ENABLE_OpenMP is enabled may increase build times.
Default: ON if Kokkos is OpenMP-enabled, OFF otherwise.
KokkosKernels_INST_EXECSPACE_SERIAL
: BOOLWhether to build kernels for the execution space Kokkos::Serial. If explicit template instantiation (ETI) is enabled in Trilinos, disabling this when Kokkos_ENABLE_SERIAL is enabled may increase build times.
Default: ON when Kokkos is Serial-enabled, OFF otherwise.
KokkosKernels_INST_EXECSPACE_THREADS
: BOOLWhether to build kernels for the execution space
Kokkos::Threads
. If explicit template instantiation (ETI) is enabled in Trilinos, disabling this when Kokkos_ENABLE_PTHREAD is enabled may increase build times.Default: ON if Kokkos is Threads-enabled, OFF otherwise.
KokkosKernels_INST_FLOAT
: BOOLWhether to pre instantiate kernels for the scalar type float. Disabling this may increase build times.
Default: OFF or unless enabled during a Trilinos build with
Trilinos_ENABLE_FLOAT
.
KokkosKernels_INST_LAYOUTLEFT
: BOOLWhether to pre instantiate kernels for the view layout LayoutLeft. This option is
KokkosKernels_INST_LAYOUTLEFT=ON
by default. Disabling this may increase build times.Default: ON
KokkosKernels_INST_LAYOUTRIGHT
: BOOLWhether to pre instantiate kernels for the view layout LayoutRight. This option is
KokkosKernels_INST_LAYOUTRIGHT=OFF
by default. Disabling this may increase build times.Default: OFF
KokkosKernels_INST_MEMSPACE_HOSTSPACE
: BOOLWhether to pre instantiate kernels for the memory space
Kokkos::HostSpace
. Disabling this when one of the Host execution spaces is enabled may increase build times.Default: ON
KokkosKernels_INST_OFFSET_INT
: BOOLWhether to pre instantiate kernels for the offset type int. This option is KokkosKernels_INST_OFFSET_INT=ON by default.
Default: ON
KokkosKernels_INST_OFFSET_SIZE_T
: BOOLWhether to pre instantiate kernels for the offset type size_t. This option is KokkosKernels_INST_OFFSET_SIZE_T=OFF by default.
Default: ON
KokkosKernels_INST_ORDINAL_INT
: BOOLWhether to pre instantiate kernels for the ordinal type int. This option is KokkosKernels_INST_ORDINAL_INT=ON by default.
Default: ON
KokkosKernels_INST_ORDINAL_INT64_T
: BOOLWhether to pre instantiate kernels for the ordinal type int64_t. This option is KokkosKernels_INST_ORDINAL_INT64_T=OFF by default.
Default: OFF
KokkosKernels_ADD_DEFAULT_ETI
: BOOLWhether to include a set of default ETI instantiations (otherwise only those explicitly requested will be included
Default: OFF
KokkosKernels_INST_EXECSPACE_CUDA
: BOOLWhether to pre instantiate kernels for the execution space
Kokkos::Cuda
. Disabling this whenKokkos_ENABLE_CUDA
is enabled may increase build times.Default: ON if Kokkos is CUDA-enabled, OFF otherwise
KokkosKernels_INST_MEMSPACE_CUDAUVMSPACE
: BOOLWhether to pre instantiate kernels for the memory space
Kokkos::CudaUVMSpace
. Disabling this whenKokkos_ENABLE_CUDA
is enabled may increase build times.Default: OFF.
KokkosKernels_INST_EXECSPACE_HIP
: BOOLKokkosKernels_INST_MEMSPACE_HIPSPACE
: BOOLKokkosKernels_INST_EXECSPACE_SYCL
: BOOLKokkosKernels_INST_MEMSPACE_SYCLSPACE
: BOOLKokkosKernels_INST_EXECSPACE_OPENMPTARGET
: BOOLKokkosKernels_INST_MEMSPACE_OPENMPTARGETSPACE
: BOOLKokkosKernels_INST_MEMSPACE_HBWSPACE
: BOOL
Documentation Options¶
KokkosKernels_ENABLE_DOCS
: BOOLWhether to build documentation
Default: OFF
Other Options¶
KokkosKernels_ENABLE_EXPERIMENTAL: BOOL
Enable building and installation of experimental KokkosKernels features.
Default: OFF
KokkosKernels_LINALG_OPT_LEVEL: BOOL
Optimization level for KokkosKernels computational kernels: a nonnegative integer. Higher levels result in better performance that is more uniform for corner cases, but increase build time and library size. The default value is 1, which should give performance within ten percent of optimal on most platforms, for most problems.
Default: 1
KokkosKernels_ENABLE_SUPERNODAL_SPTRSV
: BOOLWhether to build supernodal SPTRSV support
Default: ON
Generated using grep -r KOKKOSKERNELS_ADD_TPL_OPTION