Execution policy over a range of 2d indices. More...
#include <Cabana_ExecutionPolicy.hpp>


Public Types | |
| using | base_type |
| Kokkos team policy. | |
| using | index_type = typename base_type::index_type |
| Index type. | |
Public Member Functions | |
| SimdPolicy (const index_type begin, const index_type end) | |
| Range constructor. | |
| KOKKOS_INLINE_FUNCTION index_type | structBegin () const |
| Get the starting struct index. | |
| KOKKOS_INLINE_FUNCTION index_type | structEnd () const |
| Get the ending struct index. | |
| KOKKOS_INLINE_FUNCTION index_type | arrayBegin (const index_type s) const |
| Given a struct id get the beginning array index. | |
| KOKKOS_INLINE_FUNCTION index_type | arrayEnd (const index_type s) const |
| Given a struct id get the ending array index. | |
Execution policy over a range of 2d indices.
Gives 2D range of indices for executing a vectorized functor over the inner array index.
| using Cabana::SimdPolicy< VectorLength, Properties >::base_type |
Kokkos team policy.
|
inline |
Range constructor.
| begin | The beginning of the 1D range. This will be decomposed into 2D indices. |
| end | The ending of the 1D range. This will be decomposed into 2D indices. |