Go to the source code of this file.
#define cudaBooleanMacro |
( |
|
name | ) |
|
Value:virtual void name##On() { \
this->Set##name(true); \
} \
virtual void name##Off() { \
this->Set##name(false); \
}
Definition at line 43 of file cudaMacro.h.
#define cudaGetConstMacro |
( |
|
name, |
|
|
|
type |
|
) |
| |
Value:virtual type Get##name () const { \
return this->m_##name; \
}
Definition at line 28 of file cudaMacro.h.
#define cudaGetMacro |
( |
|
name, |
|
|
|
type |
|
) |
| |
Value:virtual type Get##name () { \
return this->m_##name; \
}
Definition at line 38 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 33 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; \
}
Definition at line 21 of file cudaMacro.h.