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 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;
\ return err; \
}
#define cudaCheckMsg(msg)
Definition at line 25 of file cudaMacro.h.