diff --git a/projects/rocdecode/src/rocdecode/roc_decoder.h b/projects/rocdecode/src/rocdecode/roc_decoder.h index 532dcc3214..7bc705ecb8 100644 --- a/projects/rocdecode/src/rocdecode/roc_decoder.h +++ b/projects/rocdecode/src/rocdecode/roc_decoder.h @@ -37,7 +37,7 @@ THE SOFTWARE. #define CHECK_HIP(call) {\ hipError_t hip_status = call;\ if (hip_status != hipSuccess) {\ - std::cout << "HIP failure: " << #call << " failed with 'status# " << hip_status << "' at " << __FILE__ << ":" << __LINE__ << std::endl;\ + std::cout << "HIP failure: " << #call << " failed with 'status: " << hipGetErrorName(hip_status) << "' at " << __FILE__ << ":" << __LINE__ << std::endl;\ return ROCDEC_RUNTIME_ERROR;\ }\ }