Skip to content

Commit

Permalink
Remove other warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kliegeois committed Apr 26, 2022
1 parent 7504347 commit 4fb43df
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
7 changes: 0 additions & 7 deletions example/batched_solve/team_GMRES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ struct Functor_TestBatchedTeamVectorGMRES {
}

inline double run() {
typedef typename ValuesViewType::value_type value_type;
std::string name("KokkosBatched::Test::TeamVectorGMRES");
Kokkos::Timer timer;
Kokkos::Profiling::pushRegion(name.c_str());
Expand Down Expand Up @@ -220,12 +219,7 @@ struct Functor_TestBatchedTeamVectorGMRES {
using Layout = typename ValuesViewType::array_layout;
using EXSP = typename ValuesViewType::execution_space;

using MagnitudeType =
typename Kokkos::Details::ArithTraits<ScalarType>::mag_type;

using ViewType1D = Kokkos::View<MagnitudeType *, Layout, EXSP>;
using ViewType2D = Kokkos::View<ScalarType **, Layout, EXSP>;
using ViewType3D = Kokkos::View<ScalarType ***, Layout, EXSP>;

size_t bytes_1D = ViewType2D::shmem_size(_N_team, 1);
size_t bytes_row_ptr = IntView::shmem_size(_r.extent(0));
Expand Down Expand Up @@ -294,7 +288,6 @@ int main(int /*argc*/, char ** /*argv*/) {

using MagnitudeType =
typename Kokkos::Details::ArithTraits<ScalarType>::mag_type;
using NormViewType = Kokkos::View<MagnitudeType *, Layout, EXSP>;

using Norm2DViewType = Kokkos::View<MagnitudeType **, Layout, EXSP>;
using Scalar3DViewType = Kokkos::View<ScalarType ***, Layout, EXSP>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,10 @@ struct TeamVectorGMRES {
typename VectorViewType::non_const_value_type>::mag_type MagnitudeType;
typedef Kokkos::Details::ArithTraits<MagnitudeType> ATM;

using ScratchPadNormViewType = Kokkos::View<
MagnitudeType*,
typename VectorViewType::execution_space::scratch_memory_space>;
using ScratchPadVectorViewType = Kokkos::View<
typename VectorViewType::non_const_value_type**,
typename VectorViewType::array_layout,
typename VectorViewType::execution_space::scratch_memory_space>;
using ScratchPadMultiVectorViewType = Kokkos::View<
typename VectorViewType::non_const_value_type***,
typename VectorViewType::array_layout,
typename VectorViewType::execution_space::scratch_memory_space>;
using TeamVectorCopy1D = TeamVectorCopy<MemberType, Trans::NoTranspose, 1>;

const OrdinalType numMatrices = _X.extent(0);
Expand Down
7 changes: 0 additions & 7 deletions src/batched/sparse/impl/KokkosBatched_GMRES_Team_Impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,10 @@ struct TeamGMRES {
typename VectorViewType::non_const_value_type>::mag_type MagnitudeType;
typedef Kokkos::Details::ArithTraits<MagnitudeType> ATM;

using ScratchPadNormViewType = Kokkos::View<
MagnitudeType*,
typename VectorViewType::execution_space::scratch_memory_space>;
using ScratchPadVectorViewType = Kokkos::View<
typename VectorViewType::non_const_value_type**,
typename VectorViewType::array_layout,
typename VectorViewType::execution_space::scratch_memory_space>;
using ScratchPadMultiVectorViewType = Kokkos::View<
typename VectorViewType::non_const_value_type***,
typename VectorViewType::array_layout,
typename VectorViewType::execution_space::scratch_memory_space>;
using TeamCopy1D = TeamCopy<MemberType, Trans::NoTranspose, 1>;

const OrdinalType numMatrices = _X.extent(0);
Expand Down

0 comments on commit 4fb43df

Please sign in to comment.