OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
thread_reduce.cuh File Reference

Go to the source code of this file.

Namespaces

namespace  cub
 Optional outer namespace(s)
 
namespace  cub::internal
 Internal namespace (to prevent ADL mishaps between static functions when mixing different CUB installations)
 

Functions

template<int LENGTH, typename T , typename ReductionOp >
__device__ __forceinline__ T cub::internal::ThreadReduce (T *input, ReductionOp reduction_op, T prefix, Int2Type< LENGTH >)
 
template<int LENGTH, typename T , typename ReductionOp >
__device__ __forceinline__ T cub::internal::ThreadReduce (T *input, ReductionOp reduction_op, T prefix)
 Perform a sequential reduction over LENGTH elements of the input array, seeded with the specified prefix. The aggregate is returned.
 
template<int LENGTH, typename T , typename ReductionOp >
__device__ __forceinline__ T cub::internal::ThreadReduce (T *input, ReductionOp reduction_op)
 Perform a sequential reduction over LENGTH elements of the input array. The aggregate is returned.
 
template<int LENGTH, typename T , typename ReductionOp >
__device__ __forceinline__ T cub::internal::ThreadReduce (T(&input)[LENGTH], ReductionOp reduction_op, T prefix)
 Perform a sequential reduction over the statically-sized input array, seeded with the specified prefix. The aggregate is returned.
 
template<int LENGTH, typename T , typename ReductionOp >
__device__ __forceinline__ T cub::internal::ThreadReduce (T(&input)[LENGTH], ReductionOp reduction_op)
 Serial reduction with the specified operator.
 

Detailed Description

Thread utilities for sequential reduction over statically-sized array types

Definition in file thread_reduce.cuh.