From 70d70a8d064ad802344d90f6395760ef9bd720e2 Mon Sep 17 00:00:00 2001 From: Dmitrii Zarukin Date: Wed, 17 Mar 2021 18:28:34 -0700 Subject: [PATCH] common: verbose: fast fix for really long lines --- src/common/verbose.cpp | 8 ++++---- src/common/verbose.hpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/verbose.cpp b/src/common/verbose.cpp index 39de1d8c00a..f1eb2e1f257 100644 --- a/src/common/verbose.cpp +++ b/src/common/verbose.cpp @@ -139,10 +139,10 @@ void pd_info_t::init( /* init_info section */ namespace { -#define DNNL_VERBOSE_DAT_LEN 256 -#define DNNL_VERBOSE_ATTR_LEN 384 -#define DNNL_VERBOSE_AUX_LEN 384 -#define DNNL_VERBOSE_PRB_LEN 384 +#define DNNL_VERBOSE_DAT_LEN 2048 +#define DNNL_VERBOSE_ATTR_LEN 768 +#define DNNL_VERBOSE_AUX_LEN 256 +#define DNNL_VERBOSE_PRB_LEN 1024 #define DECL_DAT_AUX_PRB_STRS() \ int dat_written = 0, aux_written = 0, prb_written = 0, attr_written = 0; \ diff --git a/src/common/verbose.hpp b/src/common/verbose.hpp index e2c8ed863fa..a61927688a3 100644 --- a/src/common/verbose.hpp +++ b/src/common/verbose.hpp @@ -1,5 +1,5 @@ /******************************************************************************* -* Copyright 2018-2020 Intel Corporation +* Copyright 2018-2021 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,7 +38,7 @@ bool get_verbose_timestamp(); double get_msec(); #if !defined(DISABLE_VERBOSE) -#define DNNL_VERBOSE_BUF_LEN 1024 +#define DNNL_VERBOSE_BUF_LEN 4096 #else #define DNNL_VERBOSE_BUF_LEN 1 #endif