Skip to content

Commit 3d41e97

Browse files
committed
remove stride
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent 8409a76 commit 3d41e97

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Diff for: sycl/include/sycl/ext/oneapi/matrix/matrix-intel.hpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ template <typename Group, typename T, size_t NumRows, size_t NumCols, use Use,
612612
layout Layout, typename T2>
613613
inline __SYCL_ALWAYS_INLINE void joint_matrix_fill_checked(
614614
Group, joint_matrix<Group, T, Use, NumRows, NumCols, Layout> &Res,
615-
const T2 &Value, size_t Stride, size_t Height, size_t Width, size_t CoordX,
615+
const T2 &Value, size_t Height, size_t Width, size_t CoordX,
616616
size_t CoordY) {
617617
#if defined(__SYCL_DEVICE_ONLY__)
618618
using storage_element_type =
@@ -626,7 +626,6 @@ inline __SYCL_ALWAYS_INLINE void joint_matrix_fill_checked(
626626
#else
627627
std::ignore = Res;
628628
std::ignore = Value;
629-
std::ignore = Stride;
630629
std::ignore = Height;
631630
std::ignore = Width;
632631
std::ignore = CoordX;
@@ -763,8 +762,8 @@ inline __SYCL_ALWAYS_INLINE void joint_matrix_store_checked(
763762
__spirv_CooperativeMatrixStoreCheckedINTEL<
764763
DecorT, Tp, NumRows, NumCols, spv_matrix_use_traits<Use>::value,
765764
spv_matrix_layout_traits<Layout>::value>(
766-
Ptr, CoordX, CoordY, Src.spvm,
767-
spv_matrix_layout_traits<Layout>::value, Height, Width, Stride);
765+
Ptr, CoordX, CoordY, Src.spvm, spv_matrix_layout_traits<Layout>::value,
766+
Height, Width, Stride);
768767
#else
769768
std::ignore = sg;
770769
std::ignore = Src;

0 commit comments

Comments
 (0)