Skip to content

Commit

Permalink
[SYCL][Matrix] Correct Prefetch instruction name
Browse files Browse the repository at this point in the history
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
  • Loading branch information
MrSidims committed Feb 6, 2024
1 parent 774f2b9 commit c6f1357
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sycl/include/CL/__spirv/spirv_ops.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ __spirv_VectorInsertDynamic(__spv::__spirv_JointMatrixINTEL<T, R, C, L, S, U> *,
Ts val, size_t i);

template <typename T, std::size_t NumRows, std::size_t NumCols>
extern __DPCPP_SYCL_EXTERNAL void __spirv_JointMatrixPrefetchINTEL(
extern __DPCPP_SYCL_EXTERNAL void __spirv_CooperativeMatrixPrefetchINTEL(
T *Ptr, std::size_t coordX, std::size_t coordY, unsigned int CacheLevel,
__spv::MatrixLayout Layout, std::size_t Stride);

Expand Down
2 changes: 1 addition & 1 deletion sycl/include/sycl/ext/oneapi/matrix/matrix-unified.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ joint_matrix_prefetch(Group sg, T *Ptr, size_t stride,
// Will be removed once SPIRV implementation also uses offsetpointer
size_t coordX = 0;
size_t coordY = 0;
__spirv_JointMatrixPrefetchINTEL<T, NumRows, NumCols>(
__spirv_CooperativeMatrixPrefetchINTEL<T, NumRows, NumCols>(
Ptr, coordX, coordY, detail::PropertyMetaInfo<decltype(prop)>::value,
sycl::detail::joint_matrix_layout_to_spv(Layout), stride);
#endif // defined(__NVPTX__)
Expand Down

0 comments on commit c6f1357

Please sign in to comment.