RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Member Functions | Public Attributes | List of all members
RAJA::IndexList< IdxLin > Struct Template Reference

#include <IndexLayout.hpp>

Public Member Functions

IdxLin RAJA_INLINE constexpr RAJA_HOST_DEVICE operator() (const IdxLin idx) const
 

Public Attributes

IdxLin * index_list {nullptr}
 

Detailed Description

template<typename IdxLin = Index_type>
struct RAJA::IndexList< IdxLin >

IndexList struct stores a pointer to an array containing the index list. Its call operator returns the entry at the input location (idx) of its index list.

Member Function Documentation

◆ operator()()

template<typename IdxLin = Index_type>
IdxLin RAJA_INLINE constexpr RAJA_HOST_DEVICE RAJA::IndexList< IdxLin >::operator() ( const IdxLin  idx) const
inlineconstexpr

Member Data Documentation

◆ index_list

template<typename IdxLin = Index_type>
IdxLin* RAJA::IndexList< IdxLin >::index_list {nullptr}

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