From 0126dcb56a0b2504845aa4ff4e741a7e35b50509 Mon Sep 17 00:00:00 2001 From: Dong Hun Lee Date: Fri, 7 Apr 2023 09:07:43 -0600 Subject: [PATCH] Remove unused constructors for ThreadVectorRangeBoundairesStruct that are not taking in TeamMemberType as an argument. --- core/src/Cuda/Kokkos_Cuda_Team.hpp | 8 -------- core/src/HIP/Kokkos_HIP_Team.hpp | 8 -------- core/src/Kokkos_ExecPolicy.hpp | 9 --------- 3 files changed, 25 deletions(-) diff --git a/core/src/Cuda/Kokkos_Cuda_Team.hpp b/core/src/Cuda/Kokkos_Cuda_Team.hpp index f726cdc3fb..af47dfff92 100644 --- a/core/src/Cuda/Kokkos_Cuda_Team.hpp +++ b/core/src/Cuda/Kokkos_Cuda_Team.hpp @@ -376,18 +376,10 @@ struct ThreadVectorRangeBoundariesStruct { ThreadVectorRangeBoundariesStruct(const CudaTeamMember, index_type count) : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION - ThreadVectorRangeBoundariesStruct(index_type count) - : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION ThreadVectorRangeBoundariesStruct(const CudaTeamMember, index_type arg_begin, index_type arg_end) : start(arg_begin), end(arg_end) {} - - KOKKOS_INLINE_FUNCTION - ThreadVectorRangeBoundariesStruct(index_type arg_begin, index_type arg_end) - : start(arg_begin), end(arg_end) {} }; } // namespace Impl diff --git a/core/src/HIP/Kokkos_HIP_Team.hpp b/core/src/HIP/Kokkos_HIP_Team.hpp index 197c8c1882..584d728d94 100644 --- a/core/src/HIP/Kokkos_HIP_Team.hpp +++ b/core/src/HIP/Kokkos_HIP_Team.hpp @@ -367,18 +367,10 @@ struct ThreadVectorRangeBoundariesStruct { ThreadVectorRangeBoundariesStruct(const HIPTeamMember, index_type count) : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION - ThreadVectorRangeBoundariesStruct(index_type count) - : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION ThreadVectorRangeBoundariesStruct(const HIPTeamMember, index_type arg_begin, index_type arg_end) : start(arg_begin), end(arg_end) {} - - KOKKOS_INLINE_FUNCTION - ThreadVectorRangeBoundariesStruct(index_type arg_begin, index_type arg_end) - : start(arg_begin), end(arg_end) {} }; } // namespace Impl diff --git a/core/src/Kokkos_ExecPolicy.hpp b/core/src/Kokkos_ExecPolicy.hpp index b141d7c692..611fd6512b 100644 --- a/core/src/Kokkos_ExecPolicy.hpp +++ b/core/src/Kokkos_ExecPolicy.hpp @@ -738,20 +738,11 @@ struct ThreadVectorRangeBoundariesStruct { const index_type& count) noexcept : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION - constexpr ThreadVectorRangeBoundariesStruct(const index_type& count) noexcept - : start(static_cast(0)), end(count) {} - KOKKOS_INLINE_FUNCTION constexpr ThreadVectorRangeBoundariesStruct( const TeamMemberType, const index_type& arg_begin, const index_type& arg_end) noexcept : start(static_cast(arg_begin)), end(arg_end) {} - - KOKKOS_INLINE_FUNCTION - constexpr ThreadVectorRangeBoundariesStruct( - const index_type& arg_begin, const index_type& arg_end) noexcept - : start(static_cast(arg_begin)), end(arg_end) {} }; template