Definition at line 1134 of file block_exchange.cuh.
Data Structures | |
| struct | _TempStorage |
| Shared memory storage layout type. More... | |
| struct | TempStorage |
| \smemstorage{WarpExchange} More... | |
Public Member Functions | |
| __device__ __forceinline__ | WarpExchange (TempStorage &temp_storage) |
| Constructor. | |
| template<typename OffsetT > | |
| __device__ __forceinline__ void | ScatterToStriped (T items[ITEMS_PER_THREAD], OffsetT ranks[ITEMS_PER_THREAD]) |
| Exchanges valid data items annotated by rank into striped arrangement. | |
Private Types | |
| enum | { IS_ARCH_WARP = (LOGICAL_WARP_THREADS == CUB_WARP_THREADS(PTX_ARCH)) , WARP_ITEMS = (ITEMS_PER_THREAD * LOGICAL_WARP_THREADS) + 1 , LOG_SMEM_BANKS = CUB_LOG_SMEM_BANKS(PTX_ARCH) , SMEM_BANKS = 1 << LOG_SMEM_BANKS , INSERT_PADDING = (ITEMS_PER_THREAD > 4) && (PowerOfTwo<ITEMS_PER_THREAD>::VALUE) , PADDING_ITEMS = (INSERT_PADDING) ? (WARP_ITEMS >> LOG_SMEM_BANKS) : 0 } |
| Constants. More... | |
Private Attributes | |
| _TempStorage & | temp_storage |
| int | lane_id |
|
private |
Constants.
Definition at line 1143 of file block_exchange.cuh.
|
inline |
Constructor.
Definition at line 1190 of file block_exchange.cuh.
|
inline |
Exchanges valid data items annotated by rank into striped arrangement.
| OffsetT | [inferred] Signed integer type for local offsets |
| items | [in-out] Items to exchange | |
| [in] | ranks | Corresponding scatter ranks |
Definition at line 1213 of file block_exchange.cuh.
|
private |
Definition at line 1181 of file block_exchange.cuh.
|
private |
Definition at line 1180 of file block_exchange.cuh.