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 | |
Sequential prefix scan over statically-sized array types | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanExclusive (T inclusive, T exclusive, T *input, T *output, ScanOp scan_op, Int2Type< LENGTH >) |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanExclusive (T *input, T *output, ScanOp scan_op, T prefix, bool apply_prefix=true) |
Perform a sequential exclusive prefix scan over LENGTH elements of the input array, seeded with the specified prefix . The aggregate is returned. | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanExclusive (T(&input)[LENGTH], T(&output)[LENGTH], ScanOp scan_op, T prefix, bool apply_prefix=true) |
Perform a sequential exclusive prefix scan over the statically-sized input array, seeded with the specified prefix . The aggregate is returned. | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanInclusive (T inclusive, T *input, T *output, ScanOp scan_op, Int2Type< LENGTH >) |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanInclusive (T *input, T *output, ScanOp scan_op) |
Perform a sequential inclusive prefix scan over LENGTH elements of the input array. The aggregate is returned. | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanInclusive (T(&input)[LENGTH], T(&output)[LENGTH], ScanOp scan_op) |
Perform a sequential inclusive prefix scan over the statically-sized input array. The aggregate is returned. | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanInclusive (T *input, T *output, ScanOp scan_op, T prefix, bool apply_prefix=true) |
Perform a sequential inclusive prefix scan over LENGTH elements of the input array, seeded with the specified prefix . The aggregate is returned. | |
template<int LENGTH, typename T , typename ScanOp > | |
__device__ __forceinline__ T | cub::internal::ThreadScanInclusive (T(&input)[LENGTH], T(&output)[LENGTH], ScanOp scan_op, T prefix, bool apply_prefix=true) |
Perform a sequential inclusive prefix scan over the statically-sized input array, seeded with the specified prefix . The aggregate is returned. | |
Thread utilities for sequential prefix scan over statically-sized array types
Definition in file thread_scan.cuh.