Skip to content

Commit be2542f

Browse files
authored
[ESIMD] Fix LSC APIs that use raw_send (#10634)
This fixes fallout from 1a5e532. I reordered the template arguments in the review process but missed updating the LSC callsites. We have tests for this but they don't run in CI. I manually verified the tests pass. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 0fad215 commit be2542f

File tree

1 file changed

+3
-3
lines changed
  • sycl/include/sycl/ext/intel/experimental/esimd

1 file changed

+3
-3
lines changed

sycl/include/sycl/ext/intel/experimental/esimd/memory.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,7 +2875,7 @@ ESIMD_INLINE SYCL_ESIMD_FUNCTION __ESIMD_NS::simd<T, N> lsc_load_2d(
28752875
constexpr uint8_t sfid = 0xF;
28762876
constexpr uint8_t numSrc0 = 0x1;
28772877
constexpr uint8_t numDst = (N * sizeof(T)) / 64;
2878-
__ESIMD_NS::simd<T, ActualN> Raw = raw_send<execSize, numSrc0, numDst, sfid>(
2878+
__ESIMD_NS::simd<T, ActualN> Raw = raw_send<execSize, sfid, numSrc0, numDst>(
28792879
oldDst, payload.get_raw_data(), exDesc, desc);
28802880

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

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

2982-
raw_sends<execSize, numSrc0, numSrc1, sfid>(payload.get_raw_data(), Data,
2982+
raw_sends<execSize, sfid, numSrc0, numSrc1>(payload.get_raw_data(), Data,
29832983
exDesc, desc);
29842984
}
29852985

0 commit comments

Comments
 (0)