Skip to content

Commit 0fc5129

Browse files
[SYCL][Matrix] Update builtin name for the checked matrix construct SPIR-V instruction (#12787)
In order to support OpCooperativeMatrixConstructCheckedINTEL instruction the builtin name must be updated to the corresponding spelling: __spirv_CooperativeMatrixConstructCheckedINTEL
1 parent b0f584c commit 0fc5129

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/include/CL/__spirv/spirv_ops.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ template <typename T, typename Tp, std::size_t R, std::size_t C,
5151
__spv::Scope::Flag S = __spv::Scope::Flag::Subgroup>
5252
extern __DPCPP_SYCL_EXTERNAL
5353
__spv::__spirv_JointMatrixINTEL<Tp, R, C, L, S, U> *
54-
__spirv_CompositeConstructCheckedINTEL(const T Value, size_t Height,
55-
size_t Stride, size_t Width,
56-
size_t CoordX, size_t CoordY);
54+
__spirv_CooperativeMatrixConstructCheckedINTEL(const T Value, size_t Height,
55+
size_t Stride, size_t Width,
56+
size_t CoordX, size_t CoordY);
5757

5858
template <typename T, typename Tp, std::size_t R, std::size_t C,
5959
__spv::MatrixUse U,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ inline __SYCL_ALWAYS_INLINE void joint_matrix_fill_checked(
616616
using storage_element_type =
617617
typename oneapi::detail::jm_type_interpretation_helper_trait<
618618
T>::storage_element_type;
619-
Res.spvm = __spirv_CompositeConstructCheckedINTEL<
619+
Res.spvm = __spirv_CooperativeMatrixConstructCheckedINTEL<
620620
storage_element_type, T, NumRows, NumCols,
621621
spv_matrix_use_traits<Use>::value,
622622
spv_matrix_layout_traits<Layout>::value>(

0 commit comments

Comments
 (0)