George pointed out that r29991 wasn't quite right. This patch is
added on top of r29991 and: * Consolidates the _debug variables in opal_datatype_internal.h and opal_convertor.h * Puts the DO_DEBUG macros back in the .c files, because they are slightly different from each other Refs trac:4004 This commit was SVN r29992. The following SVN revision numbers were found above: r29991 --> open-mpi/ompi@a88e143127 The following Trac tickets were found above: Ticket 4004 --> https://svn.open-mpi.org/trac/ompi/ticket/4004
Этот коммит содержится в:
родитель
a88e143127
Коммит
e4097c5cc9
@ -54,9 +54,7 @@ void opal_convertor_destroy_masters( void );
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
extern bool opal_pack_debug;
|
||||
#define DO_DEBUG(INST) if( opal_pack_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
extern bool opal_unpack_debug;
|
||||
#endif /* OPAL_ENABLE_DEBUG */
|
||||
|
||||
END_C_DECLS
|
||||
|
@ -22,6 +22,10 @@
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
#include "opal/util/output.h"
|
||||
|
||||
#define DO_DEBUG(INST) if( opal_pack_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
#endif /* OPAL_ENABLE_DEBUG */
|
||||
|
||||
/**
|
||||
|
@ -12,6 +12,7 @@
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2011 NVIDIA Corporation. All rights reserved.
|
||||
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -36,7 +37,6 @@
|
||||
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
extern bool opal_copy_debug;
|
||||
#define DO_DEBUG(INST) if( opal_copy_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
|
@ -13,6 +13,7 @@
|
||||
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -476,5 +477,10 @@ OPAL_DECLSPEC int opal_datatype_contain_basic_datatypes( const struct opal_datat
|
||||
OPAL_DECLSPEC int opal_datatype_dump_data_flags( unsigned short usflags, char* ptr, size_t length );
|
||||
OPAL_DECLSPEC int opal_datatype_dump_data_desc( union dt_elem_desc* pDesc, int nbElems, char* ptr, size_t length );
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
extern bool opal_position_debug;
|
||||
extern bool opal_copy_debug;
|
||||
#endif /* OPAL_ENABLE_DEBUG */
|
||||
|
||||
END_C_DECLS
|
||||
#endif /* OPAL_DATATYPE_INTERNAL_H_HAS_BEEN_INCLUDED */
|
||||
|
@ -28,6 +28,10 @@
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
#include "opal/util/output.h"
|
||||
|
||||
#define DO_DEBUG(INST) if( opal_pack_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
#endif /* OPAL_ENABLE_DEBUG */
|
||||
|
||||
#include "opal/datatype/opal_datatype_checksum.h"
|
||||
|
@ -11,6 +11,7 @@
|
||||
* Copyright (c) 2004-2006 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
||||
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -34,7 +35,6 @@
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
#include "opal/util/output.h"
|
||||
|
||||
extern bool opal_position_debug;
|
||||
#define DO_DEBUG(INST) if( opal_position_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
|
@ -30,6 +30,10 @@
|
||||
|
||||
#if OPAL_ENABLE_DEBUG
|
||||
#include "opal/util/output.h"
|
||||
|
||||
#define DO_DEBUG(INST) if( opal_unpack_debug ) { INST }
|
||||
#else
|
||||
#define DO_DEBUG(INST)
|
||||
#endif /* OPAL_ENABLE_DEBUG */
|
||||
|
||||
#include "opal/datatype/opal_datatype_checksum.h"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user