IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::RangePolicy< Dim, PolicyArgs > Struct Template Reference

#include <ParallelDispatch.h>

Inheritance diagram for ippl::RangePolicy< Dim, PolicyArgs >:
Collaboration diagram for ippl::RangePolicy< Dim, PolicyArgs >:

Public Types

using policy_type = Kokkos::MDRangePolicy<PolicyArgs..., Kokkos::Rank<Dim>>
using index_type = typename policy_type::array_index_type
using index_array_type = ::ippl::Vector<index_type, Dim>

Detailed Description

template<unsigned Dim, class... PolicyArgs>
struct ippl::RangePolicy< Dim, PolicyArgs >

Wrapper type for Kokkos range policies with some convenience aliases

Template Parameters
Dimrange policy rank
PolicyArgs...additional template parameters for the range policy

Definition at line 24 of file ParallelDispatch.h.

Member Typedef Documentation

◆ index_array_type

template<unsigned Dim, class... PolicyArgs>
using ippl::RangePolicy< Dim, PolicyArgs >::index_array_type = ::ippl::Vector<index_type, Dim>

Definition at line 30 of file ParallelDispatch.h.

◆ index_type

template<unsigned Dim, class... PolicyArgs>
using ippl::RangePolicy< Dim, PolicyArgs >::index_type = typename policy_type::array_index_type

Definition at line 28 of file ParallelDispatch.h.

◆ policy_type

template<unsigned Dim, class... PolicyArgs>
using ippl::RangePolicy< Dim, PolicyArgs >::policy_type = Kokkos::MDRangePolicy<PolicyArgs..., Kokkos::Rank<Dim>>

Definition at line 26 of file ParallelDispatch.h.


The documentation for this struct was generated from the following file: