Template Class WarpExchange

Nested Relationships

Nested Types

Class Documentation

template<typename InputT, int ITEMS_PER_THREAD, int LOGICAL_WARP_THREADS = HIPCUB_DEVICE_WARP_THREADS, int ARCH = HIPCUB_ARCH>
class hipcub::WarpExchange

Public Functions

WarpExchange() = delete
__device__ __forceinline__ inline explicit WarpExchange(TempStorage &temp_storage)
template<typename OutputT>
__device__ __forceinline__ inline void BlockedToStriped(const InputT (&input_items)[ITEMS_PER_THREAD], OutputT (&output_items)[ITEMS_PER_THREAD])
template<typename OutputT>
__device__ __forceinline__ inline void StripedToBlocked(const InputT (&input_items)[ITEMS_PER_THREAD], OutputT (&output_items)[ITEMS_PER_THREAD])
template<typename OffsetT>
__device__ __forceinline__ inline void ScatterToStriped(InputT (&items)[ITEMS_PER_THREAD], OffsetT (&ranks)[ITEMS_PER_THREAD])
template<typename OutputT, typename OffsetT>
__device__ __forceinline__ inline void ScatterToStriped(const InputT (&input_items)[ITEMS_PER_THREAD], OutputT (&output_items)[ITEMS_PER_THREAD], OffsetT (&ranks)[ITEMS_PER_THREAD])
struct TempStorage : public hipcub::Uninitialized<_TempStorage>

Public Types

enum [anonymous]

Values:

typedef UnitWord<_TempStorage>::DeviceWord DeviceWord

Biggest memory-access word that T is a whole multiple of and is not larger than the alignment of T.

Public Functions

__host__ __device__ __forceinline__ inline _TempStorage &Alias()

Alias.

Public Members

DeviceWord storage[WORDS]

Backing storage.