pFlow::algorithms::KOKKOS Namespace Reference

Functions

template<typename Type , typename ExecutionSpace >
INLINE_FUNCTION_H int32 count (const Type *first, int32 numElems, const Type &val)
 
template<typename Type , typename ExecutionSpace >
INLINE_FUNCTION_H void fillSequence (Type *first, int32 numElems, const Type &firstVal)
 
template<typename Type , typename indexType , typename ExecutionSpace >
INLINE_FUNCTION_H void fillSelected (Type *first, const indexType *indices, const int32 numElems, const Type val)
 
template<typename Type , typename indexType , typename ExecutionSpace >
INLINE_FUNCTION_H void fillSelected (Type *first, const indexType *indices, const Type *vals, const int32 numElems)
 
template<typename Type , typename ExecutionSpace >
INLINE_FUNCTION_H Type max (const Type *first, int32 numElems)
 
template<typename Type , typename ExecutionSpace >
INLINE_FUNCTION_H Type min (const Type *first, int32 numElems)
 
template<typename Type , typename DestType , typename ExecutionSpace >
void exclusiveScan (Type *first, DestType *dFirst, int32 numElems)
 
template<typename Type , typename DestType , typename ExecutionSpace >
void inclusiveScan (Type *first, DestType *dFirst, int32 numElems)
 

Function Documentation

◆ count()

INLINE_FUNCTION_H int32 pFlow::algorithms::KOKKOS::count ( const Type *  first,
int32  numElems,
const Type &  val 
)

Definition at line 33 of file kokkosAlgorithms.hpp.

References pFlow::equal(), and LAMBDA_HD.

Here is the call graph for this function:

◆ fillSequence()

INLINE_FUNCTION_H void pFlow::algorithms::KOKKOS::fillSequence ( Type *  first,
int32  numElems,
const Type &  firstVal 
)

Definition at line 53 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.

◆ fillSelected() [1/2]

INLINE_FUNCTION_H void pFlow::algorithms::KOKKOS::fillSelected ( Type *  first,
const indexType *  indices,
const int32  numElems,
const Type  val 
)

Definition at line 71 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.

◆ fillSelected() [2/2]

INLINE_FUNCTION_H void pFlow::algorithms::KOKKOS::fillSelected ( Type *  first,
const indexType *  indices,
const Type *  vals,
const int32  numElems 
)

Definition at line 87 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.

◆ max()

INLINE_FUNCTION_H Type pFlow::algorithms::KOKKOS::max ( const Type *  first,
int32  numElems 
)

◆ min()

INLINE_FUNCTION_H Type pFlow::algorithms::KOKKOS::min ( const Type *  first,
int32  numElems 
)

Definition at line 124 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.

Referenced by pFlow::epsilonValue().

Here is the caller graph for this function:

◆ exclusiveScan()

void pFlow::algorithms::KOKKOS::exclusiveScan ( Type *  first,
DestType *  dFirst,
int32  numElems 
)

Definition at line 148 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.

◆ inclusiveScan()

void pFlow::algorithms::KOKKOS::inclusiveScan ( Type *  first,
DestType *  dFirst,
int32  numElems 
)

Definition at line 167 of file kokkosAlgorithms.hpp.

References LAMBDA_HD.