From b355fa25f4559b65fb603f568a85deb5e6599220 Mon Sep 17 00:00:00 2001 From: stamoor Date: Thu, 28 Jan 2016 21:07:07 +0000 Subject: [PATCH] Squelching annoying kokkos output git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14508 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- .../src/impl/Kokkos_AllocationTracker.cpp | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/kokkos/core/src/impl/Kokkos_AllocationTracker.cpp b/lib/kokkos/core/src/impl/Kokkos_AllocationTracker.cpp index efd2a096ad..8c53a20c27 100644 --- a/lib/kokkos/core/src/impl/Kokkos_AllocationTracker.cpp +++ b/lib/kokkos/core/src/impl/Kokkos_AllocationTracker.cpp @@ -388,18 +388,18 @@ struct AllocationRecordPool curr = next; } while ( curr != start ); - if ( !string_vec.empty() ) { - std::sort( string_vec.begin(), string_vec.end() ); - - std::ostringstream oss; - oss << "Error: Allocation pool destroyed with the following memory leak(s):\n"; - for (size_t i=0; i< string_vec.size(); ++i) - { - oss << " " << string_vec[i] << std::endl; - } - - std::cerr << oss.str() << std::endl; - } + //if ( !string_vec.empty() ) { + // std::sort( string_vec.begin(), string_vec.end() ); + // + // std::ostringstream oss; + // oss << "Error: Allocation pool destroyed with the following memory leak(s):\n"; + // for (size_t i=0; i< string_vec.size(); ++i) + // { + // oss << " " << string_vec[i] << std::endl; + // } + // + // std::cerr << oss.str() << std::endl; + //} } // delete singletons