Skip to content

Commit b2663d8

Browse files
authored
[SYCL] Add missing Layout template parameter for CompositeConstruct (#5467)
Signed-off-by: Dmitry Sidorov <[email protected]>
1 parent c3e6cc2 commit b2663d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sycl/include/sycl/ext/oneapi/matrix/matrix-jit.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,11 @@ joint_matrix_fill(Group sg,
212212
// functions
213213
(void)sg;
214214
#ifdef __SYCL_DEVICE_ONLY__
215-
res.spvm = __spirv_CompositeConstruct<T, NumRows, NumCols>(static_cast<T>(v));
215+
res.spvm =
216+
__spirv_CompositeConstruct<T, NumRows, NumCols,
217+
spv_matrix_layout_traits<Layout>::value>(
218+
static_cast<T>(v));
219+
216220
#else
217221
(void)res;
218222
(void)v;

0 commit comments

Comments
 (0)