Packer for primitives. More...
Packer for primitives.
T | object type to pack |
Mem | Memory origin HeapMemory CudaMemory ... |
Definition at line 113 of file Packer.hpp.
#include <Packer.hpp>
Static Public Member Functions | |
static void | pack (ExtPreAlloc< Mem > &ext, const T &obj, Pack_stat &sts, size_t n) |
It packs arrays of C++ primitives. More... | |
static void | packRequestDummy (std::vector< size_t > &req) |
It add a request to pack a C++ primitive. More... | |
|
inlinestatic |
It packs arrays of C++ primitives.
ext | preallocated memory where to pack the object |
obj | object to pack |
sts | pack-stat info |
Definition at line 124 of file Packer.hpp.
|
inlinestatic |
It add a request to pack a C++ primitive.
req | requests vector |
Definition at line 142 of file Packer.hpp.