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

#include <Layout.hpp>

Public Member Functions

RAJA_INLINE constexpr RAJA_HOST_DEVICE IdxLin operator() (IdxLin cur_stride, IdxLin const (&sizes)[n_dims]) const
 

Detailed Description

template<size_t j, size_t n_dims, typename IdxLin = Index_type>
struct RAJA::detail::stride_calculator< j, n_dims, IdxLin >

Helper function to compute the strides

Member Function Documentation

◆ operator()()

template<size_t j, size_t n_dims, typename IdxLin = Index_type>
RAJA_INLINE constexpr RAJA_HOST_DEVICE IdxLin RAJA::detail::stride_calculator< j, n_dims, IdxLin >::operator() ( IdxLin  cur_stride,
IdxLin const (&)  sizes[n_dims] 
) const
inlineconstexpr

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