CUB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Types | Public Methods | Public Members | List of all members
cub::ItemOffsetPair< _T, _Offset > Struct Template Reference

Detailed description

template< typename _T, typename _Offset>
struct cub::ItemOffsetPair< _T, _Offset >

An item value paired with a corresponding offset.

Definition at line 506 of file util_type.cuh.

Public Types

typedef _T T
 Item data type.
 
typedef _Offset Offset
 Integer offset data type.
 

Public Methods

__host__ __device__
__forceinline__ bool 
operator!= (const ItemOffsetPair &b)
 Inequality operator.
 

Public Members

union {
   Offset   offset
 Offset.
 
   UnitWord< T >::DeviceWord   align0
 Alignment/padding (for Win32 consistency between host/device)
 
}; 
 
T value
 Item value.
 

The documentation for this struct was generated from the following file: