hipCUB
Classes | Public Types | List of all members
UnitWord< T > Struct Template Reference

Unit-words of data movement. More...

#include <util_type.hpp>

Inheritance diagram for UnitWord< T >:
Inheritance graph
[legend]

Classes

struct  IsMultiple
 

Public Types

enum  { ALIGN_BYTES = AlignBytes<T>::ALIGN_BYTES }
 
typedef std::conditional< IsMultiple< int >::IS_MULTIPLE, unsigned int, typename std::conditional< IsMultiple< short >::IS_MULTIPLE, unsigned short, unsigned char >::type >::type ShuffleWord
 Biggest shuffle word that T is a whole multiple of and is not larger than the alignment of T.
 
typedef std::conditional< IsMultiple< long long >::IS_MULTIPLE, unsigned long long, ShuffleWord >::type VolatileWord
 Biggest volatile word that T is a whole multiple of and is not larger than the alignment of T.
 
typedef std::conditional< IsMultiple< longlong2 >::IS_MULTIPLE, ulonglong2, VolatileWord >::type DeviceWord
 Biggest memory-access word that T is a whole multiple of and is not larger than the alignment of T.
 
typedef std::conditional< IsMultiple< int4 >::IS_MULTIPLE, uint4, typename std::conditional< IsMultiple< int2 >::IS_MULTIPLE, uint2, ShuffleWord >::type >::type TextureWord
 Biggest texture reference word that T is a whole multiple of and is not larger than the alignment of T.
 

Detailed Description

template<typename T>
struct UnitWord< T >

Unit-words of data movement.


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