COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
carma_host_obj.h File Reference
#include <carma.h>
#include <carma_context.h>
#include <carma_streams.h>
#include <carma_utils.h>
#include <iostream>
#include <typeinfo>
Include dependency graph for carma_host_obj.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CarmaHostObj< T_data >
 this class provides wrappers to the generic carma host object More...
 

Macros

#define MEMORY_ALIGNMENT   4096
 
#define ALIGN_UP(x, size)   (((size_t)x + (size - 1)) & (~(size - 1)))
 

Enumerations

enum  MemAlloc {
  MA_MALLOC , MA_PAGELOCK , MA_ZEROCPY , MA_PORTABLE ,
  MA_WRICOMB , MA_GENEPIN
}
 

Functions

template<class T_data >
std::ostream & operator<< (std::ostream &os, CarmaHostObj< T_data > &obj)
 

Macro Definition Documentation

◆ ALIGN_UP

#define ALIGN_UP (   x,
  size 
)    (((size_t)x + (size - 1)) & (~(size - 1)))

Definition at line 37 of file carma_host_obj.h.

◆ MEMORY_ALIGNMENT

#define MEMORY_ALIGNMENT   4096

Definition at line 36 of file carma_host_obj.h.

Enumeration Type Documentation

◆ MemAlloc

enum MemAlloc
Enumerator
MA_MALLOC 
MA_PAGELOCK 
MA_ZEROCPY 
MA_PORTABLE 
MA_WRICOMB 
MA_GENEPIN 

Definition at line 27 of file carma_host_obj.h.

Function Documentation

◆ operator<<()

template<class T_data >
std::ostream& operator<< ( std::ostream &  os,
CarmaHostObj< T_data > &  obj 
)

Definition at line 131 of file carma_host_obj.h.

Here is the call graph for this function: