Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
crtrott committed Jul 3, 2024
1 parent a003c2b commit 19ea291
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions core/src/View/MDSpan/Kokkos_MDSpan_Accessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,17 +183,6 @@ struct AtomicAccessorRelaxed {
KOKKOS_DEFAULTED_FUNCTION
AtomicAccessorRelaxed() = default;

// TODO: Kokkos allows atomic views of const element types right now,
// but for the future we might to deprecated it and do this:
#if 0
KOKKOS_FUNCTION
AtomicAccessorRelaxed(const default_accessor<element_type>&) {}

static_assert(
std::is_same_v<std::remove_cv_t<element_type>, element_type>,
"AtomicAccessorRelaxed can only be used for non-const element types");
#endif

// Conversions from non-const to const element type
template <class OtherElementType,
std::enable_if_t<std::is_convertible_v<
Expand Down

0 comments on commit 19ea291

Please sign in to comment.