|
Swarm-NG
1.1
|
Defines system compatible data alignment and convenient macros. More...
Go to the source code of this file.
Classes | |
| struct | gpulog::internal::alignment< T > |
| Type alignment querying. More... | |
| struct | gpulog::internal::alignment< float2 > |
| Alignment overrides to make the host packing compatible with device packing See table B-1 in CUDA 2.2 Programming Guide for reference. More... | |
| struct | gpulog::internal::ttrait< T > |
| Type traits, scalar type. More... | |
| struct | gpulog::internal::ttrait< T * > |
| Type traits, pointer type. More... | |
| struct | gpulog::internal::ttrait< T[N]> |
| Type traits, array type. More... | |
| struct | gpulog::internal::ttrait< array< T > > |
| Type traits, array type. More... | |
| struct | gpulog::internal::ttrait< Tunspec > |
| Type traits, type unspecified. More... | |
Namespaces | |
| gpulog | |
| class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored). | |
Constant Groups | |
| gpulog | |
| class template pktsize<> and supporting classes and templates that enable the compile-time calculation of log record layout (byte offsets to which the data will be stored). | |
Macros | |
| #define | ALIGNOF(T) (ttrait<T>::align) |
| Alignment of type T. | |
| #define | ESIZE(T) (ttrait<T>::size) |
| Scalar element size of type T. E.g., if T = short[5], ESIZE(T) = sizeof(short) | |
| #define | DIMEN(T) (ttrait<T>::dim) |
| Array size of type T. E.g., if T = short[5], DIMEN(T) = 5. | |
| #define | SIZEOF(T) (ESIZE(T)*DIMEN(T)) |
| Byte size of type T. For array<X>, this is the size of X. | |
| #define | ISARRAY(T) (ttrait<T>::isarr) |
| Is type T an array<> class. | |
| #define | SCALAR(T) typename gpulog::internal::ttrait<T>::scalarT |
| The scalar of type T (extracts T out of array<T>, if it's an array) | |
Defines system compatible data alignment and convenient macros.
Definition in file gpulog_ttraits.h.