Skip to content

Commit 5cc89a4

Browse files
Just a small bugfix
1 parent d32f5da commit 5cc89a4

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

sycl/include/CL/sycl/ONEAPI/matrix/matrix-amx.hpp

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -378,14 +378,12 @@ joint_matrix_store(Group sg,
378378
// This handles cases where matrix can be put into a tile
379379
template <typename Group, typename T, size_t NumRows, size_t NumCols,
380380
matrix_layout Layout, access::address_space Space>
381-
inline __SYCL_ALWAYS_INLINE
382-
typename std::enable_if_t<(NumRows <= tile_size) &&
383-
(NumCols * sizeof(T) / 4 <= tile_size),
384-
void>::type
385-
joint_matrix_store(Group sg,
386-
joint_matrix<Group, T, NumRows, NumCols, Layout> &jm,
387-
multi_ptr<T, Space> dst, size_t stride,
388-
matrix_layout layout) {
381+
inline __SYCL_ALWAYS_INLINE typename std::enable_if_t<
382+
(NumRows <= tile_size) && (NumCols * sizeof(T) / 4 <= tile_size), void>
383+
joint_matrix_store(Group sg,
384+
joint_matrix<Group, T, NumRows, NumCols, Layout> &jm,
385+
multi_ptr<T, Space> dst, size_t stride,
386+
matrix_layout layout) {
389387
T *mem = dst.get();
390388
// tilestore happens!
391389
tilestored64_internal(NumRows, NumCols * sizeof(T),

0 commit comments

Comments
 (0)