From ab7917cba5f5575e7ee7082daad7435b8b496974 Mon Sep 17 00:00:00 2001 From: Willem Deconinck Date: Mon, 9 Dec 2024 12:16:06 +0000 Subject: [PATCH] Fixup: remove debugging output --- src/atlas/linalg/sparse/MakeSparseMatrixStorageEckit.h | 5 ----- src/atlas/linalg/sparse/MakeSparseMatrixStorageEigen.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/atlas/linalg/sparse/MakeSparseMatrixStorageEckit.h b/src/atlas/linalg/sparse/MakeSparseMatrixStorageEckit.h index fffbf9eeb..e4be60104 100644 --- a/src/atlas/linalg/sparse/MakeSparseMatrixStorageEckit.h +++ b/src/atlas/linalg/sparse/MakeSparseMatrixStorageEckit.h @@ -35,7 +35,6 @@ void host_copy_eckit (const InputT* input_data, array::Array& output) { inline SparseMatrixStorage make_sparse_matrix_storage(eckit::linalg::SparseMatrix&& m) { using Index = eckit::linalg::Index; using Value = eckit::linalg::Scalar; - std::cout << "make_sparse_matrix_storage move" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols(); @@ -58,8 +57,6 @@ inline SparseMatrixStorage make_sparse_matrix_storage(eckit::linalg::SparseMatri template< typename value_type, typename index_type = eckit::linalg::Index> SparseMatrixStorage make_sparse_matrix_storage(eckit::linalg::SparseMatrix&& m) { - std::cout << "make_sparse_matrix_storage move or convert" << std::endl; - if (std::is_same_v && std::is_same_v) { return make_sparse_matrix_storage(std::move(m)); } @@ -87,7 +84,6 @@ inline SparseMatrixStorage make_sparse_matrix_storage(const eckit::linalg::Spars using Index = eckit::linalg::Index; using Value = eckit::linalg::Scalar; - std::cout << "make_sparse_matrix_storage copy" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols(); std::size_t nnz = m.nonZeros(); @@ -109,7 +105,6 @@ inline SparseMatrixStorage make_sparse_matrix_storage(const eckit::linalg::Spars template< typename value_type, typename index_type = eckit::linalg::Index> SparseMatrixStorage make_sparse_matrix_storage(const eckit::linalg::SparseMatrix& m) { - std::cout << "make_sparse_matrix_storage copy and convert" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols(); diff --git a/src/atlas/linalg/sparse/MakeSparseMatrixStorageEigen.h b/src/atlas/linalg/sparse/MakeSparseMatrixStorageEigen.h index f306e85f0..d60cd1dba 100644 --- a/src/atlas/linalg/sparse/MakeSparseMatrixStorageEigen.h +++ b/src/atlas/linalg/sparse/MakeSparseMatrixStorageEigen.h @@ -39,7 +39,6 @@ void host_copy_eigen (const InputT* input_data, atlas::array::Array& output) { template SparseMatrixStorage make_sparse_matrix_storage(Eigen::SparseMatrix&& m) { - std::cout << "make_sparse_matrix_storage move" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols(); @@ -64,7 +63,6 @@ SparseMatrixStorage make_sparse_matrix_storage(Eigen::SparseMatrix>> SparseMatrixStorage make_sparse_matrix_storage(Eigen::SparseMatrix&& m) { - std::cout << "make_sparse_matrix_storage move or convert" << std::endl; if (std::is_same_v && std::is_same_v) { return make_sparse_matrix_storage(std::move(m)); @@ -91,7 +89,6 @@ SparseMatrixStorage make_sparse_matrix_storage(Eigen::SparseMatrix SparseMatrixStorage make_sparse_matrix_storage(const Eigen::SparseMatrix& m) { - std::cout << "make_sparse_matrix_storage copy" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols(); std::size_t nnz = m.nonZeros(); @@ -114,7 +111,6 @@ SparseMatrixStorage make_sparse_matrix_storage(const Eigen::SparseMatrix>> SparseMatrixStorage make_sparse_matrix_storage(const Eigen::SparseMatrix& m) { - std::cout << "make_sparse_matrix_storage copy and convert" << std::endl; std::size_t rows = m.rows(); std::size_t cols = m.cols();