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