diff --git a/packages/sacado/test/performance/advection/advection.cpp b/packages/sacado/test/performance/advection/advection.cpp index 8b4a803aacda..3446b4254722 100644 --- a/packages/sacado/test/performance/advection/advection.cpp +++ b/packages/sacado/test/performance/advection/advection.cpp @@ -168,8 +168,8 @@ void run_analytic_team(const FluxView& flux, const WgbView& wgb, const size_t num_cells = wgb.extent(0); const int num_basis = wgb.extent(1); - const int num_points = wgb.extent(2); - const int num_dim = wgb.extent(3); + /*const*/ int num_points = wgb.extent(2); + /*const*/ int num_dim = wgb.extent(3); const size_t bytes = 2*tmp_scratch_type::shmem_size(); policy_type policy(num_cells,num_basis,32); diff --git a/packages/sacado/test/performance/advection/advection_hierarchical.cpp b/packages/sacado/test/performance/advection/advection_hierarchical.cpp index f6377c207dbd..c5858b5299b9 100644 --- a/packages/sacado/test/performance/advection/advection_hierarchical.cpp +++ b/packages/sacado/test/performance/advection/advection_hierarchical.cpp @@ -43,7 +43,6 @@ void run_fad_hierarchical_flat(const FluxView& flux, const WgbView& wgb, const ResidualView& residual) { typedef typename ResidualView::execution_space execution_space; - typedef typename ResidualView::non_const_value_type scalar_type; typedef typename Kokkos::ThreadLocalScalarType::type local_scalar_type; typedef Kokkos::TeamPolicy policy_type; typedef typename policy_type::member_type team_member; @@ -83,7 +82,6 @@ void run_fad_hierarchical_team(const FluxView& flux, const WgbView& wgb, const ResidualView& residual) { typedef typename ResidualView::execution_space execution_space; - typedef typename ResidualView::non_const_value_type scalar_type; typedef typename Kokkos::ThreadLocalScalarType::type local_scalar_type; typedef Kokkos::TeamPolicy policy_type; typedef typename policy_type::member_type team_member; diff --git a/packages/sacado/test/performance/advection/common.hpp b/packages/sacado/test/performance/advection/common.hpp index 3a8c76257050..2a518a0b646d 100644 --- a/packages/sacado/test/performance/advection/common.hpp +++ b/packages/sacado/test/performance/advection/common.hpp @@ -378,8 +378,6 @@ void check_residual(const FluxView& flux, const WgbView& wgb, const SrcView& src, const WbsView& wbs, const ResidualView& residual) { - typedef typename ResidualView::execution_space execution_space; - // Generate gold residual auto residual_gold = compute_gold_residual(flux, wgb, src, wbs); diff --git a/packages/sacado/test/performance/advection_const_basis/advection.cpp b/packages/sacado/test/performance/advection_const_basis/advection.cpp index cdf84c285ca3..fb95df285c5c 100644 --- a/packages/sacado/test/performance/advection_const_basis/advection.cpp +++ b/packages/sacado/test/performance/advection_const_basis/advection.cpp @@ -167,8 +167,8 @@ void run_analytic_team(const FluxView& flux, const WgbView& wgb, const size_t num_cells = wgb.extent(0); const int num_basis = wgb.extent(1); - const int num_points = wgb.extent(2); - const int num_dim = wgb.extent(3); + /*const*/ int num_points = wgb.extent(2); + /*const*/ int num_dim = wgb.extent(3); const size_t bytes = 2*tmp_scratch_type::shmem_size(); policy_type policy(num_cells,num_basis,32); diff --git a/packages/sacado/test/performance/advection_const_basis/advection_hierarchical.cpp b/packages/sacado/test/performance/advection_const_basis/advection_hierarchical.cpp index 40aa3082d35c..e66de586f231 100644 --- a/packages/sacado/test/performance/advection_const_basis/advection_hierarchical.cpp +++ b/packages/sacado/test/performance/advection_const_basis/advection_hierarchical.cpp @@ -43,7 +43,6 @@ void run_fad_hierarchical_flat(const FluxView& flux, const WgbView& wgb, const ResidualView& residual) { typedef typename ResidualView::execution_space execution_space; - typedef typename ResidualView::non_const_value_type scalar_type; typedef typename Kokkos::ThreadLocalScalarType::type local_scalar_type; typedef Kokkos::TeamPolicy policy_type; typedef typename policy_type::member_type team_member; @@ -83,7 +82,6 @@ void run_fad_hierarchical_team(const FluxView& flux, const WgbView& wgb, const ResidualView& residual) { typedef typename ResidualView::execution_space execution_space; - typedef typename ResidualView::non_const_value_type scalar_type; typedef typename Kokkos::ThreadLocalScalarType::type local_scalar_type; typedef Kokkos::TeamPolicy policy_type; typedef typename policy_type::member_type team_member; diff --git a/packages/sacado/test/performance/advection_const_basis/common.hpp b/packages/sacado/test/performance/advection_const_basis/common.hpp index 4f1819ae4c06..a7616179f733 100644 --- a/packages/sacado/test/performance/advection_const_basis/common.hpp +++ b/packages/sacado/test/performance/advection_const_basis/common.hpp @@ -339,8 +339,6 @@ void check_residual(const FluxView& flux, const WgbView& wgb, const SrcView& src, const WbsView& wbs, const ResidualView& residual) { - typedef typename ResidualView::execution_space execution_space; - // Generate gold residual auto residual_gold = compute_gold_residual(flux, wgb, src, wbs); diff --git a/packages/sacado/test/performance/mat_vec/mat_vec.cpp b/packages/sacado/test/performance/mat_vec/mat_vec.cpp index 3138d758bd9d..57153a0a9765 100644 --- a/packages/sacado/test/performance/mat_vec/mat_vec.cpp +++ b/packages/sacado/test/performance/mat_vec/mat_vec.cpp @@ -95,7 +95,6 @@ template void run_mat_vec_deriv(const ViewTypeA& A, const ViewTypeB& b, const ViewTypeC& c) { - typedef typename ViewTypeC::value_type scalar_type; typedef typename ViewTypeC::execution_space execution_space; const int m = A.extent(0); diff --git a/packages/sacado/test/performance/mat_vec/mat_vec_hierarchical_dfad.cpp b/packages/sacado/test/performance/mat_vec/mat_vec_hierarchical_dfad.cpp index d41f91cd5399..a47fd693f614 100644 --- a/packages/sacado/test/performance/mat_vec/mat_vec_hierarchical_dfad.cpp +++ b/packages/sacado/test/performance/mat_vec/mat_vec_hierarchical_dfad.cpp @@ -96,7 +96,7 @@ void run_mat_vec_hierarchical_dfad_scratch( const size_t bytes = TmpScratchSpace::shmem_size(TeamSize,p); Kokkos::parallel_for( policy.set_scratch_size(0, Kokkos::PerTeam(bytes)), - KOKKOS_LAMBDA (const typename Policy::member_type& team) { + KOKKOS_LAMBDA (const team_member& team) { const int team_rank = team.team_rank(); const int team_size = team.team_size(); TmpScratchSpace t(team.team_scratch(0), team_size, p);