#include <carma.h>
#include <carma_context.h>
#include <carma_streams.h>
#include <carma_utils.h>
#include <iostream>
#include <typeinfo>
Go to the source code of this file.
◆ ALIGN_UP
#define ALIGN_UP |
( |
|
x, |
|
|
|
size |
|
) |
| (((size_t)x + (size - 1)) & (~(size - 1))) |
◆ MEMORY_ALIGNMENT
#define MEMORY_ALIGNMENT 4096 |
◆ MemAlloc
Enumerator |
---|
MA_MALLOC | |
MA_PAGELOCK | |
MA_ZEROCPY | |
MA_PORTABLE | |
MA_WRICOMB | |
MA_GENEPIN | |
Definition at line 52 of file carma_host_obj.h.
◆ operator<<()
template<class T_data >
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
CarmaHostObj< T_data > & |
obj |
|
) |
| |
Definition at line 154 of file carma_host_obj.h.
155 os <<
"-----------------------" << std::endl;
156 os <<
"CarmaHostObj<" <<
typeid(T_data).
name() <<
"> object" << std::endl;
158 os <<
"ndims = " << ndims << std::endl;
159 for (
long dim = 0; dim < ndims; dim++) {
160 os <<
"dim[" << dim <<
"] = " << obj.
get_dims(dim + 1) << std::endl;
163 os <<
"sizeof(" <<
typeid(T_data).
name() <<
") = " <<
sizeof(T_data)
165 os <<
"-----------------------" << std::endl;