COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
declare_name.hpp File Reference

this file provides pybind wrapper for libcarma More...

#include <string>
#include <cstdint>
#include <cuComplex.h>
Include dependency graph for declare_name.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARE_NAME_CARMA(Type, Name)
 

Functions

 DECLARE_NAME_CARMA (int, int)
 
 DECLARE_NAME_CARMA (unsigned int, uint)
 
 DECLARE_NAME_CARMA (uint16_t, uint16)
 
 DECLARE_NAME_CARMA (float, float)
 
 DECLARE_NAME_CARMA (double, double)
 
 DECLARE_NAME_CARMA (cuFloatComplex, float_complex)
 
 DECLARE_NAME_CARMA (cuDoubleComplex, double_complex)
 
template<typename T >
std::string appendName (std::string str)
 

Detailed Description

this file provides pybind wrapper for libcarma

Author
COMPASS Team https://github.com/ANR-COMPASS
Version
5.0.0
Date
2011/01/28

Definition in file declare_name.hpp.

Macro Definition Documentation

◆ DECLARE_NAME_CARMA

#define DECLARE_NAME_CARMA (   Type,
  Name 
)
Value:
template <> \
constexpr char const* explicit_name<Type>() { \
return #Name; \
}

Definition at line 56 of file declare_name.hpp.

Function Documentation

◆ appendName()

template<typename T >
std::string appendName ( std::string  str)

Definition at line 88 of file declare_name.hpp.

88  {
89  return str + explicit_name<T>();
90 }

◆ DECLARE_NAME_CARMA() [1/7]

DECLARE_NAME_CARMA ( cuDoubleComplex  ,
double_complex   
)

◆ DECLARE_NAME_CARMA() [2/7]

DECLARE_NAME_CARMA ( cuFloatComplex  ,
float_complex   
)

◆ DECLARE_NAME_CARMA() [3/7]

DECLARE_NAME_CARMA ( double  ,
double   
)

◆ DECLARE_NAME_CARMA() [4/7]

DECLARE_NAME_CARMA ( float  ,
float   
)

◆ DECLARE_NAME_CARMA() [5/7]

DECLARE_NAME_CARMA ( int  ,
int   
)

◆ DECLARE_NAME_CARMA() [6/7]

DECLARE_NAME_CARMA ( uint16_t  ,
uint16   
)

◆ DECLARE_NAME_CARMA() [7/7]

DECLARE_NAME_CARMA ( unsigned int  ,
uint   
)