Skip to content

Commit 2c62638

Browse files
Merge Pull Request #14734 from trilinos/Trilinos/malachi/remove-unused-var-tpetra
Automatically Merged using Trilinos Pull Request AutoTester PR Title: b'Tpetra: Remove un-used variables in copyAndPermuteStaticGraphNew' PR Author: MalachiTimothyPhillips
2 parents ffbed97 + dcc390a commit 2c62638

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

packages/tpetra/core/src/Tpetra_CrsGraph_def.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7172,16 +7172,12 @@ void CrsGraph<LocalOrdinal, GlobalOrdinal, Node>::insertGlobalIndicesDevice(
71727172
using LO = LocalOrdinal;
71737173
using GO = GlobalOrdinal;
71747174
typedef typename crs_graph_type::global_inds_device_view_type::non_const_value_type global_inds_device_value_t;
7175-
typedef typename crs_graph_type::local_graph_device_type k_local_graph_device_type;
71767175
typedef typename Node::execution_space exec_space;
71777176
typedef Kokkos::RangePolicy<exec_space, LO> range_type;
71787177

71797178
const LocalOrdinal LINV = Teuchos::OrdinalTraits<LocalOrdinal>::invalid();
71807179
const GlobalOrdinal GINV = Teuchos::OrdinalTraits<GlobalOrdinal>::invalid();
71817180

7182-
const k_local_graph_device_type& srcGraphDevice = srcCrsGraph.getLocalGraphDevice();
7183-
const k_local_graph_device_type& tgtGraphDevice = tgtCrsGraph.getLocalGraphDevice();
7184-
71857181
using local_map_type = typename crs_graph_type::map_type::local_map_type;
71867182
local_map_type srcRowMapLocal = srcCrsGraph.getRowMap()->getLocalMap();
71877183
local_map_type srcColMapLocal = srcCrsGraph.getColMap()->getLocalMap();

packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8939,7 +8939,6 @@ void copyAndPermuteStaticGraphNew(
89398939
using crs_matrix_type = CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>;
89408940

89418941
typedef typename crs_matrix_type::local_inds_device_view_type::non_const_value_type local_inds_device_value_t;
8942-
typedef typename crs_matrix_type::local_matrix_device_type k_local_matrix_device_type;
89438942

89448943
typedef typename Node::execution_space exec_space;
89458944
typedef Kokkos::RangePolicy<exec_space, LO> range_type;
@@ -8997,9 +8996,6 @@ void copyAndPermuteStaticGraphNew(
89978996
};
89988997

89998998
if (sourceIsLocallyIndexed) {
9000-
const k_local_matrix_device_type& srcMatDevice = srcMatCrs.getLocalMatrixDevice();
9001-
const k_local_matrix_device_type& tgtMatDevice = tgtMatCrs.getLocalMatrixDevice();
9002-
90038999
typename crs_matrix_type::row_ptrs_device_view_type tgtLocalRowPtrsDevice = tgtMatCrs.getLocalRowPtrsDevice();
90049000
typename crs_matrix_type::local_inds_device_view_type tgtLocalColIndsDevice = tgtMatCrs.getLocalIndicesDevice();
90059001
typename crs_matrix_type::row_ptrs_host_view_type srcLocalRowPtrsHost = srcMatCrs.getLocalRowPtrsHost();

0 commit comments

Comments
 (0)