Skip to content

Commit

Permalink
Merge pull request #5786 from dalg24/cleanup_rm_eliminate_warning_for…
Browse files Browse the repository at this point in the history
…_lock_array

Cleanup remove unused `Impl::eliminate_warning_for_lock_array()` functions
  • Loading branch information
dalg24 committed Jan 23, 2023
2 parents c9929fc + 9f09e2b commit cf6d43d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion core/src/Cuda/Kokkos_Cuda_Locks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ namespace Kokkos {
namespace Impl {
namespace {
static int lock_array_copied = 0;
inline int eliminate_warning_for_lock_array() { return lock_array_copied; }
} // namespace

#ifdef KOKKOS_ENABLE_CUDA_RELOCATABLE_DEVICE_CODE
Expand Down
1 change: 0 additions & 1 deletion core/src/HIP/Kokkos_HIP_Locks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ namespace Kokkos {
namespace Impl {
namespace {
static int lock_array_copied = 0;
inline int eliminate_warning_for_lock_array() { return lock_array_copied; }
} // namespace
} // namespace Impl
} // namespace Kokkos
Expand Down
1 change: 0 additions & 1 deletion tpls/desul/include/desul/atomics/Lock_Array_CUDA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ namespace desul {
namespace Impl {
namespace {
static int lock_array_copied = 0;
inline int eliminate_warning_for_lock_array() { return lock_array_copied; }
} // namespace

#ifdef __CUDACC_RDC__
Expand Down
1 change: 0 additions & 1 deletion tpls/desul/include/desul/atomics/Lock_Array_HIP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ namespace desul {
namespace Impl {
namespace {
static int lock_array_copied = 0;
inline int eliminate_warning_for_lock_array() { return lock_array_copied; }
} // namespace
} // namespace Impl
} // namespace desul
Expand Down

0 comments on commit cf6d43d

Please sign in to comment.