Misc.hpp File Reference Go to the source code of this file.
Macro Definition Documentation◆ HIP_CHECK_NOTHROW
Value:
do { \
const hipError_t stat = (STAT); \
if(stat != hipSuccess) \
{ \
std::cerr << "rocsparseSolverBackend::hip error: " << hipGetErrorString(stat) << std::endl; \
} \
} while(0)
◆ ROCSPARSE_CHECK_NOTHROW
Value:
do { \
const rocsparse_status stat = (STAT); \
if(stat != rocsparse_status_success) \
{ \
std::cerr << "rocsparseSolverBackend::rocsparse error: " << stat << std::endl; \
} \
} while(0)
|
||||||||||||||||||||||||||||||||||||||||||||||||||