Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
taozha2 committed Jan 17, 2025
1 parent 765f672 commit 85480f9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/cute/atom/copy_traits_xe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ template <class T>
static constexpr bool is_stride_leftmost<T, cute::void_t<decltype(T{}.stride())>> = std::is_same_v<_1, decltype(get<0>(T{}.stride()))>;


template <class T, class = void>
static constexpr bool is_stride_middle = std::is_same_v<_1, decltype(get<1>(T{}))>;

template <class T>
static constexpr bool is_stride_middle<T, cute::void_t<decltype(T{}.stride())>> = std::is_same_v<_1, decltype(get<1>(T{}.stride()))>;

} // end namespace detail


Expand All @@ -106,8 +100,6 @@ struct XE_2D_LD_Unpack {
static constexpr auto stride_rank = rank(StrideIndicator{});
static_assert(stride_rank == 2 || stride_rank == 3);

static_assert(detail::is_stride_leftmost<StrideIndicator> || detail::is_stride_middle<StrideIndicator>);

// Assume LD_T/LD_N will indicate ColumnMajor and RowMajor
static constexpr bool is_column_major = detail::is_transpose_load<CopyOp>;

Expand Down

0 comments on commit 85480f9

Please sign in to comment.