SWDEV-229840 - Improve error messages on ROCCLR Layer.
Change-Id: Iab7d9156cdc206db86385aa05023a0095ed40f92
This commit is contained in:
committed by
Karthik Jayaprakash
parent
4e46da4fb0
commit
7458bf9964
Regular → Executable
+8
@@ -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_*/
|
||||
|
||||
Reference in New Issue
Block a user