SWDEV-229840 - Improve error messages on ROCCLR Layer.

Change-Id: Iab7d9156cdc206db86385aa05023a0095ed40f92
This commit is contained in:
kjayapra-amd
2020-04-13 22:41:44 -04:00
committed by Karthik Jayaprakash
parent 4e46da4fb0
commit 7458bf9964
16 changed files with 128 additions and 26 deletions
Regular → Executable
+8
View File
@@ -215,4 +215,12 @@ inline void warning(const char* msg) { amd::report_warning(msg); }
#define LogPrintfWarning(format, ...) ClPrint(amd::LOG_WARNING, amd::LOG_ALWAYS, format, __VA_ARGS__)
#define LogPrintfInfo(format, ...) ClPrint(amd::LOG_INFO, amd::LOG_ALWAYS, format, __VA_ARGS__)
#ifdef DEV_LOG_ENABLE
#define DevLogPrintfError(format, ...) LogPrintfError(format, __VA_ARGS__)
#define DevLogError(msg) LogError(msg)
#else
#define DevLogPrintfError(format, ...)
#define DevLogError(msg)
#endif
#endif /*DEBUG_HPP_*/