Skip to content

Commit

Permalink
tpetra: update namespace for transpose_* routines
Browse files Browse the repository at this point in the history
Compatibility update for kokkos/kokkos-kernels#1439
  • Loading branch information
ndellingwood committed Jul 15, 2022
1 parent 14dceb3 commit 97b1bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/tpetra/core/src/Tpetra_CrsGraphTransposer_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ namespace Tpetra {
rowmap_t lclGraphT_rowmap("Transpose rowmap", numCols + 1);
entries_t lclGraphT_entries(
Kokkos::ViewAllocateWithoutInitializing("Transpose entries"), lclGraph.entries.extent(0));
KokkosKernels::Impl::transpose_graph<
KokkosSparse::Impl::transpose_graph<
c_rowmap_t, c_entries_t,
rowmap_t, entries_t,
rowmap_t, typename local_graph_device_type::execution_space>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ createTransposeLocal (const Teuchos::RCP<Teuchos::ParameterList>& params)
using local_matrix_device_type = typename crs_matrix_type::local_matrix_device_type;

local_matrix_device_type lclMatrix = crsMatrix->getLocalMatrixDevice ();
local_matrix_device_type lclTransposeMatrix = KokkosKernels::Impl::transpose_matrix(lclMatrix);
local_matrix_device_type lclTransposeMatrix = KokkosSparse::Impl::transpose_matrix(lclMatrix);
if (sort)
KokkosSparse::sort_crs_matrix(lclTransposeMatrix);

Expand Down

0 comments on commit 97b1bee

Please sign in to comment.