hipcub Namespace Reference#
hipcub Namespace Reference
hipCUB error reporting macro (prints error messages to stderr) More...
Functions | |
| hipError_t | Debug (hipError_t error, const char *filename, int line) |
Don't use this function directly, but via the HipcubDebug macro instead. If error is not hipSuccess, prints an error message containing the source filename and line information to the standard error output. More... | |
| void | Log (const char *message, const char *filename, int line) |
Don't use this function directly, but via the HipcubLog macro instead. Prints the provided message containing the source filename and line information to the standard output. | |
Detailed Description
hipCUB error reporting macro (prints error messages to stderr)
Function Documentation
◆ Debug()
|
inline |
Don't use this function directly, but via the HipcubDebug macro instead. If error is not hipSuccess, prints an error message containing the source filename and line information to the standard error output.
- Note
- This only happens if
HIPCUB_STDERRis defined.