SWDEV-510186 - Improve logging (#220)
- Print all arguments for logs, this is useful for debug
このコミットが含まれているのは:
1 親
95cdc83eaf
コミット
ce24936970
2ファイル変更
+38
-11
検索条件に一致するファイルはありません
@@ -219,6 +219,8 @@ inline void warning(const char* msg) { amd::report_warning(msg); }
|
||||
} \
|
||||
} while (false)
|
||||
|
||||
#define IsLogEnabled(level, mask) (AMD_LOG_LEVEL >= level && (AMD_LOG_MASK & mask || AMD_LOG_MASK == amd::LOG_ALWAYS))
|
||||
|
||||
//called on entry and exit, calculates duration with local starttime variable defined in HIP_INIT_API
|
||||
#define HIPPrintDuration(level, mask, startTimeUs, format, ...) \
|
||||
do { \
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする