ViewAlgorithms.hpp File Reference
Include dependency graph for ViewAlgorithms.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 pFlow
 

Functions

template<typename T , typename... properties>
INLINE_FUNCTION_H int32 count (const ViewType1D< T, properties... > &view, int32 start, int32 end, const T &val)
 
template<typename T , typename... properties>
INLINE_FUNCTION_H void fill (ViewType1D< T, properties... > &view, range span, T val)
 
template<typename T , typename... properties>
void fill (ViewType1D< T, properties... > &view, int32 start, int32 end, T val)
 
template<typename Type , typename... properties>
void fillSequence (ViewType1D< Type, properties... > &view, int32 start, int32 end, const Type startVal)
 
template<typename Type , typename... properties, typename indexType , typename... indexProperties>
bool fillSelected (ViewType1D< Type, properties... > view, const ViewType1D< indexType, indexProperties... > indices, const int32 numElems, const Type val, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< indexType, indexProperties... >::memory_space >(), bool >=true)
 
template<typename Type , typename... properties, typename indexType , typename... indexProperties>
bool fillSelected (ViewType1D< Type, properties... > view, const ViewType1D< indexType, indexProperties... > indices, const ViewType1D< Type, indexProperties... > vals, const int32 numElems, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< indexType, indexProperties... >::memory_space >(), bool >=true)
 
template<typename T , typename... properties>
INLINE_FUNCTION_Hmin (const ViewType1D< T, properties... > &view, int32 start, int32 end)
 
template<typename T , typename... properties>
INLINE_FUNCTION_Hmax (const ViewType1D< T, properties... > &view, int32 start, int32 end)
 
template<typename dType , typename... dProperties, typename sType , typename... sProperties>
INLINE_FUNCTION_H void copy (const ViewType1D< dType, dProperties... > &dst, const ViewType1D< sType, sProperties... > &src)
 
template<typename dType , typename... dProperties, typename sType , typename... sProperties>
INLINE_FUNCTION_H void copy (const ViewType1D< dType, dProperties... > &dst, int32 dStart, const ViewType1D< sType, sProperties... > &src, int32 sStart, int32 sEnd)
 
template<typename dType , typename sType , typename... sProperties>
INLINE_FUNCTION_H void getNth (dType &dst, const ViewType1D< sType, sProperties... > &src, const int32 n)
 
template<typename T , typename... properties>
INLINE_FUNCTION_H void sort (ViewType1D< T, properties... > &view, int32 start, int32 end)
 
template<typename T , typename... properties, typename CompareFunc >
INLINE_FUNCTION_H void sort (ViewType1D< T, properties... > &view, int32 start, int32 end, CompareFunc compare)
 
template<typename Type , typename... properties, typename permType , typename... permProperties>
void permuteSort (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< permType, permProperties... > &permuteView, int32 permStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< permType, permProperties... >::memory_space >(), bool >=true)
 
template<typename Type , typename... properties>
INLINE_FUNCTION_HD int32 binarySearch (const ViewType1D< Type, properties... > &view, int32 start, int32 end, const Type &val)
 
template<typename Type , typename... properties, typename dType , typename... dProperties>
void exclusiveScan (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< dType, dProperties... > &dView, int32 dStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< dType, dProperties... >::memory_space >(), bool >=true)
 
template<typename Type , typename... properties, typename dType , typename... dProperties>
void inclusiveScan (const ViewType1D< Type, properties... > &view, int32 start, int32 end, ViewType1D< dType, dProperties... > &dView, int32 dStart, typename std::enable_if_t< areAccessible< typename ViewType1D< Type, properties... >::execution_space, typename ViewType1D< dType, dProperties... >::memory_space >(), bool >=true)
 

Variables

const size_t maxSizeToSerial__ = 64