diff --git a/api/hip/hip_internal.hpp b/api/hip/hip_internal.hpp index de9de24a32..ceff284dda 100644 --- a/api/hip/hip_internal.hpp +++ b/api/hip/hip_internal.hpp @@ -147,7 +147,6 @@ extern amd::Memory* getMemoryObject(const void* ptr, size_t& offset); #define HIP_RETURN(ret) \ hip::g_lastError = ret; \ - DebugInfoGuarantee(hip::g_lastError == hipSuccess); \ return hip::g_lastError; \ inline std::ostream& operator<<(std::ostream& os, const dim3& s) {