Skip to content

Commit dc5ce17

Browse files
authored
[SYCL][JM] Fix default template parameter location (#17336)
1 parent 3cea0a8 commit dc5ce17

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace experimental {
2828
namespace matrix {
2929

3030
template <typename Group, typename T, use Use, size_t Rows, size_t Cols,
31-
layout Layout = layout::dynamic>
31+
layout Layout>
3232
struct joint_matrix;
3333

3434
} // namespace matrix

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ namespace ext {
3737
namespace oneapi {
3838
namespace experimental {
3939
namespace matrix {
40-
4140
template <typename Group, typename T, use Use, size_t Rows, size_t Cols,
42-
layout Layout>
41+
layout Layout = layout::dynamic>
4342
struct joint_matrix {
4443

4544
#if defined(__SYCL_DEVICE_ONLY__)

sycl/include/sycl/ext/oneapi/matrix/static-query-use.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
#include <sycl/aliases.hpp> // for half
2424
#include <sycl/ext/oneapi/experimental/device_architecture.hpp>
25+
#if defined(__NVPTX__)
2526
#include <sycl/ext/oneapi/matrix/matrix-tensorcores.hpp>
27+
#endif // defined(__NVPTX__)
2628
#include <sycl/ext/oneapi/matrix/matrix-unified-utils.hpp> // for use, layout
2729
#include <sycl/ext/oneapi/matrix/matrix-unified.hpp> // for joint_matrix
2830

0 commit comments

Comments
 (0)