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. | |
Thread utilities for sequential reduction over statically-sized array types
Definition in file thread_reduce.cuh.