Skip to content

Commit

Permalink
common: verbose: fast fix for really long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarukin committed Apr 7, 2021
1 parent a5a0b49 commit 70d70a8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/common/verbose.cpp
Expand Up @@ -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; \
Expand Down
4 changes: 2 additions & 2 deletions 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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 70d70a8

Please sign in to comment.