go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Namespaces | Macros
cudaMacro.h File Reference

Go to the source code of this file.

Namespaces

 cuda
 

Macros

#define cudaBooleanMacro(name)
 
#define cudaGetConstMacro(name, type)
 
#define cudaGetMacro(name, type)
 
#define cudaSetMacro(name, type)
 
#define DBG_FUNC(NAME, PARAMETERS_DECLR, PARAMETERS_CALL)
 

Macro Definition Documentation

#define cudaBooleanMacro (   name)
Value:
virtual void name##On() { \
this->Set##name(true); \
} \
virtual void name##Off() { \
this->Set##name(false); \
}

Definition at line 47 of file cudaMacro.h.

#define cudaGetConstMacro (   name,
  type 
)
Value:
virtual type Get##name () const { \
return this->m_##name; \
}

Definition at line 32 of file cudaMacro.h.

#define cudaGetMacro (   name,
  type 
)
Value:
virtual type Get##name () { \
return this->m_##name; \
}

Definition at line 42 of file cudaMacro.h.

#define cudaSetMacro (   name,
  type 
)
Value:
virtual void Set##name (const type _arg) { \
if (this->m_##name != _arg) this->m_##name = _arg; \
}

Definition at line 37 of file cudaMacro.h.

#define DBG_FUNC (   NAME,
  PARAMETERS_DECLR,
  PARAMETERS_CALL 
)
Value:
inline cudaError_t NAME PARAMETERS_DECLR { \
cudaError_t err = ::NAME PARAMETERS_CALL; \
cudaCheckMsg(#NAME" failed!"); \
return err; \
}
#define cudaCheckMsg(msg)

Definition at line 25 of file cudaMacro.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo