Skip to content

Commit 9596ea0

Browse files
authored
[NFC][SYCL][MATRIX] Add std::ignore for unused parameters to fix warnings. (#8684)
1 parent 27654ac commit 9596ea0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@ joint_matrix_apply(Group sg, joint_matrix<Group, T, Use, M, N, Layout> &jm,
146146
}
147147
#endif
148148
#else
149+
std::ignore = sg;
150+
std::ignore = jm;
151+
std::ignore = lambda;
149152
throw runtime_error("joint matrix is not supported on host device.",
150153
PI_ERROR_INVALID_DEVICE);
151154
#endif

0 commit comments

Comments
 (0)