OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
cub::UnitWord< T > Struct Template Reference

Unit-words of data movement. More...

Detailed Description

template<typename T>
struct cub::UnitWord< T >

Unit-words of data movement.

Definition at line 350 of file util_type.cuh.

+ Inheritance diagram for cub::UnitWord< T >:

Data Structures

struct  IsMultiple
 

Public Types

enum  { ALIGN_BYTES = AlignBytes<T>::ALIGN_BYTES }
 
typedef If< IsMultiple< int >::IS_MULTIPLE, unsignedint, typenameIf< IsMultiple< short >::IS_MULTIPLE, unsignedshort, unsignedchar >::Type >::Type ShuffleWord
 Biggest shuffle word that T is a whole multiple of and is not larger than the alignment of T.
 
typedef If< IsMultiple< longlong >::IS_MULTIPLE, unsignedlonglong, ShuffleWord >::Type VolatileWord
 Biggest volatile word that T is a whole multiple of and is not larger than the alignment of T.
 
typedef If< 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 If< IsMultiple< int4 >::IS_MULTIPLE, uint4, typenameIf< 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.
 

Member Typedef Documentation

◆ DeviceWord

template<typename T >
typedef If<IsMultiple<longlong2>::IS_MULTIPLE,ulonglong2,VolatileWord>::Type cub::UnitWord< T >::DeviceWord

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

Definition at line 380 of file util_type.cuh.

◆ ShuffleWord

template<typename T >
typedef If<IsMultiple<int>::IS_MULTIPLE,unsignedint,typenameIf<IsMultiple<short>::IS_MULTIPLE,unsignedshort,unsignedchar>::Type>::Type cub::UnitWord< T >::ShuffleWord

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

Definition at line 370 of file util_type.cuh.

◆ TextureWord

template<typename T >
typedef If<IsMultiple<int4>::IS_MULTIPLE,uint4,typenameIf<IsMultiple<int2>::IS_MULTIPLE,uint2,ShuffleWord>::Type>::Type cub::UnitWord< T >::TextureWord

Biggest texture reference word that T is a whole multiple of and is not larger than the alignment of T.

Definition at line 387 of file util_type.cuh.

◆ VolatileWord

template<typename T >
typedef If<IsMultiple<longlong>::IS_MULTIPLE,unsignedlonglong,ShuffleWord>::Type cub::UnitWord< T >::VolatileWord

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

Definition at line 375 of file util_type.cuh.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum

Definition at line 352 of file util_type.cuh.


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