48 use_auto_team_size_(true),
53 fad_use_shared_memory_(false)
55 #if defined(SACADO_VIEW_CUDA_HIERARCHICAL_DFAD)
56 #if defined(KOKKOS_ENABLE_CUDA)
69 const int& in_vector_size,
70 const int& in_fad_vector_size)
79 const bool& in_fad_use_shared_memory)
int fad_vector_size_
Default vector size for non-AD types.
bool use_shared_memory_
FAD vector size.
const bool use_shared_memory_
int vector_size_
User specified team size.
bool fad_use_shared_memory_
Use shared memory kokkos kernels for non-fad types.
int team_size_
If true, the team size is set with Kokkos::AUTO()
HP()
Use shared memory kokkos kernels for fad types.
Singleton class for accessing kokkos hierarchical parallelism parameters.
static HP & inst()
Private ctor.
void setUseSharedMemory(const bool &use_shared_memory, const bool &fad_use_shared_memory)
Tell kokkos kernels if they should use shared memory. This is very problem dependent.
void overrideSizes(const int &team_size, const int &vector_size, const int &fad_vector_size)
Allows the user to override default sizes.