Stateful block-scan prefix functor. Provides the the running prefix for the current tile by using the call-back warp to wait on on aggregates/prefixes from predecessor tiles to become available.
Definition at line 680 of file single_pass_scan_operators.cuh.
Data Structures | |
| struct | _TempStorage |
| struct | TempStorage |
Public Types | |
| typedef WarpReduce< T, CUB_PTX_WARP_THREADS, PTX_ARCH > | WarpReduceT |
| typedef ScanTileStateT::StatusWord | StatusWord |
Public Member Functions | |
| __device__ __forceinline__ | TilePrefixCallbackOp (ScanTileStateT &tile_status, TempStorage &temp_storage, ScanOpT scan_op, int tile_idx) |
| __device__ __forceinline__ void | ProcessWindow (int predecessor_idx, StatusWord &predecessor_status, T &window_aggregate) |
| __device__ __forceinline__ T | operator() (T block_aggregate) |
| __device__ __forceinline__ T | GetExclusivePrefix () |
| __device__ __forceinline__ T | GetInclusivePrefix () |
| __device__ __forceinline__ T | GetBlockAggregate () |
Data Fields | |
| _TempStorage & | temp_storage |
| Reference to a warp-reduction instance. | |
| ScanTileStateT & | tile_status |
| Interface to tile status. | |
| ScanOpT | scan_op |
| Binary scan operator. | |
| int | tile_idx |
| The current tile index. | |
| T | exclusive_prefix |
| Exclusive prefix for the tile. | |
| T | inclusive_prefix |
| Inclusive prefix for the tile. | |
| typedef ScanTileStateT::StatusWord cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::StatusWord |
Definition at line 698 of file single_pass_scan_operators.cuh.
| typedef WarpReduce<T, CUB_PTX_WARP_THREADS, PTX_ARCH> cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::WarpReduceT |
Definition at line 683 of file single_pass_scan_operators.cuh.
|
inline |
Definition at line 710 of file single_pass_scan_operators.cuh.
|
inline |
Definition at line 805 of file single_pass_scan_operators.cuh.
|
inline |
Definition at line 791 of file single_pass_scan_operators.cuh.
|
inline |
Definition at line 798 of file single_pass_scan_operators.cuh.
|
inline |
Definition at line 745 of file single_pass_scan_operators.cuh.
|
inline |
| predecessor_idx | Preceding tile index to inspect | |
| [out] | predecessor_status | Preceding tile status |
| [out] | window_aggregate | Relevant partial reduction from this window of preceding tiles |
Definition at line 724 of file single_pass_scan_operators.cuh.
| T cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::exclusive_prefix |
Exclusive prefix for the tile.
Definition at line 705 of file single_pass_scan_operators.cuh.
| T cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::inclusive_prefix |
Inclusive prefix for the tile.
Definition at line 706 of file single_pass_scan_operators.cuh.
| ScanOpT cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::scan_op |
Binary scan operator.
Definition at line 703 of file single_pass_scan_operators.cuh.
| _TempStorage& cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::temp_storage |
Reference to a warp-reduction instance.
Definition at line 701 of file single_pass_scan_operators.cuh.
| int cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::tile_idx |
The current tile index.
Definition at line 704 of file single_pass_scan_operators.cuh.
| ScanTileStateT& cub::TilePrefixCallbackOp< T, ScanOpT, ScanTileStateT, PTX_ARCH >::tile_status |
Interface to tile status.
Definition at line 702 of file single_pass_scan_operators.cuh.