RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Namespaces | Typedefs | Functions
algorithm.hpp File Reference

Header file for RAJA algorithm definitions. More...

#include "RAJA/config.hpp"
#include "RAJA/util/macros.hpp"
#include "camp/helpers.hpp"
#include <iterator>

Go to the source code of this file.

Namespaces

 RAJA
 
 RAJA::detail
 

Typedefs

template<typename Iter >
using RAJA::detail::IterVal = typename ::std::iterator_traits< Iter >::value_type
 
template<typename Iter >
using RAJA::detail::IterRef = typename ::std::iterator_traits< Iter >::reference
 
template<typename Iter >
using RAJA::detail::IterDiff = typename ::std::iterator_traits< Iter >::difference_type
 
template<typename Container >
using RAJA::detail::ContainerIter = camp::iterator_from< Container >
 
template<typename Container >
using RAJA::detail::ContainerVal = camp::decay< decltype(*camp::val< camp::iterator_from< Container > >())>
 
template<typename Container >
using RAJA::detail::ContainerRef = decltype(*camp::val< camp::iterator_from< Container > >())
 
template<typename Container >
using RAJA::detail::ContainerDiff = camp::decay< decltype(camp::val< camp::iterator_from< Container > >() - camp::val< camp::iterator_from< Container > >())>
 

Functions

template<typename DiffType , typename CountType >
RAJA_INLINE DiffType RAJA::detail::firstIndex (DiffType n, CountType num_threads, CountType thread_id)
 
template<typename Iter >
RAJA_HOST_DEVICE RAJA_INLINE void RAJA::safe_iter_swap (Iter lhs, Iter rhs)
 swap values at iterators lhs and rhs More...
 
template<typename Iter >
RAJA_HOST_DEVICE RAJA_INLINE Iter RAJA::next (Iter it)
 returns iterator to next item More...
 
template<typename Iter >
RAJA_HOST_DEVICE RAJA_INLINE Iter RAJA::prev (Iter it)
 returns iterator to next item More...
 

Detailed Description

Header file for RAJA algorithm definitions.

     Definitions in this file will propagate to all RAJA header files.