Swarm-NG  1.1
gpulog::internal::pktsize< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 > Struct Template Reference

struct template to compile-time compute (properly aligned) offsets and sizes of passed types. More...

#include <gpulog_msg_layout.h>

Static Public Member Functions

template<typename T >
__host__ static __device__ int len_with_padding (const T &x)
 padded length of the record when the last element is not an array<>
 
template<typename T >
__host__ static __device__ int len_with_padding (const array< T > &x)
 padded length of the record when the last element is an array<>
 

Detailed Description

template<typename T0, typename T1 = Tunspec, typename T2 = Tunspec, typename T3 = Tunspec, typename T4 = Tunspec, typename T5 = Tunspec, typename T6 = Tunspec, typename T7 = Tunspec, typename T8 = Tunspec, typename T9 = Tunspec, typename T10 = Tunspec>
struct gpulog::internal::pktsize< T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10 >

struct template to compile-time compute (properly aligned) offsets and sizes of passed types.

Used in conjunction with write function templates.

Definition at line 152 of file gpulog_msg_layout.h.


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