From 1a82361f53f1dd9f60015def79ca0e5b04d1ee0d Mon Sep 17 00:00:00 2001 From: Nathan Ellingwood Date: Wed, 9 Jun 2021 19:42:43 -0600 Subject: [PATCH] tpetra: move sort_crs_matrix out of Impl namespace Compatibility change for kokkos-kernels, see kokkos/kokkos-kernels#932 --- packages/tpetra/core/src/Tpetra_RowMatrixTransposer_def.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/tpetra/core/src/Tpetra_RowMatrixTransposer_def.hpp b/packages/tpetra/core/src/Tpetra_RowMatrixTransposer_def.hpp index feb28b0c03bf..5bda4129faf8 100644 --- a/packages/tpetra/core/src/Tpetra_RowMatrixTransposer_def.hpp +++ b/packages/tpetra/core/src/Tpetra_RowMatrixTransposer_def.hpp @@ -49,6 +49,7 @@ #include "Teuchos_ParameterList.hpp" #include "Teuchos_TimeMonitor.hpp" #include "KokkosKernels_SparseUtils.hpp" +#include "KokkosKernels_Sorting.hpp" namespace Tpetra { @@ -184,7 +185,7 @@ createTransposeLocal (const Teuchos::RCP& params) local_matrix_device_type lclMatrix = crsMatrix->getLocalMatrix (); local_matrix_device_type lclTransposeMatrix = KokkosKernels::Impl::transpose_matrix(lclMatrix); if (sort) - KokkosKernels::Impl::sort_crs_matrix(lclTransposeMatrix); + KokkosKernels::sort_crs_matrix(lclTransposeMatrix); // Prebuild the importers and exporters the no-communication way, // flipping the importers and exporters around.