Skip to content

[ESIMD] Fix LSC APIs that use raw_send #10634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2875,7 +2875,7 @@ ESIMD_INLINE SYCL_ESIMD_FUNCTION __ESIMD_NS::simd<T, N> lsc_load_2d(
constexpr uint8_t sfid = 0xF;
constexpr uint8_t numSrc0 = 0x1;
constexpr uint8_t numDst = (N * sizeof(T)) / 64;
__ESIMD_NS::simd<T, ActualN> Raw = raw_send<execSize, numSrc0, numDst, sfid>(
__ESIMD_NS::simd<T, ActualN> Raw = raw_send<execSize, sfid, numSrc0, numDst>(
oldDst, payload.get_raw_data(), exDesc, desc);

if constexpr (ActualN == N) {
Expand Down Expand Up @@ -2939,7 +2939,7 @@ ESIMD_INLINE SYCL_ESIMD_FUNCTION void lsc_prefetch_2d(
constexpr uint8_t execSize = 0x0;
constexpr uint8_t sfid = 0xF;
constexpr uint8_t numDst = (N * sizeof(T)) / 64;
raw_send<execSize, numDst, sfid>(payload.get_raw_data(), exDesc, desc);
raw_send<execSize, sfid, numDst>(payload.get_raw_data(), exDesc, desc);
}

/// A variation of \c 2D stateless block store \c with parameters passed as
Expand Down Expand Up @@ -2979,7 +2979,7 @@ lsc_store_2d(config_2d_mem_access<T, BlockWidth, BlockHeight, NBlocks> &payload,
constexpr uint8_t numSrc0 = 0x1;
constexpr uint8_t numSrc1 = (N * sizeof(T)) / 64;

raw_sends<execSize, numSrc0, numSrc1, sfid>(payload.get_raw_data(), Data,
raw_sends<execSize, sfid, numSrc0, numSrc1>(payload.get_raw_data(), Data,
exDesc, desc);
}

Expand Down