12 #ifdef MOOSE_KOKKOS_SCOPE 31 #ifdef MOOSE_KOKKOS_SCOPE 37 void resize(std::vector<ThreadID> dims);
KOKKOS_FUNCTION ThreadID operator()(ThreadID tid, unsigned int dim) const
Get the multi-dimensional thread index of a dimension given a one-dimensional thread index...
static constexpr std::size_t dim
This is the dimension of all vector and tensor datastructures used in MOOSE.
void resize(std::vector< ThreadID > dims)
Set the thread pool size and dimension.
unsigned int _dim
Thread pool dimension.
ThreadID _size
Total thread pool size.
ThreadID _dims[10]
Thread pool size of each dimension.
ThreadID _strides[10]
Thread pool stride of each dimension.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...
ThreadID size() const
Get the total thread pool size.
The Kokkos thread object that aids in converting the one-dimensional thread index into multi-dimensio...