Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][ESIMD]Add tests to validate lsc_block_load/store using 64 bit elements by default #1590

Merged
merged 14 commits into from
Mar 16, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Fix a test break
  • Loading branch information
fineg74 committed Mar 14, 2023
commit e71903a480e855b969a487dc102e74bcd961a62a
7 changes: 2 additions & 5 deletions SYCL/ESIMD/lsc/Inputs/lsc_surf_load.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,9 @@ bool test(uint32_t pmask = 0xffffffff) {
}
}
if constexpr (sizeof(T) < 8) {
lsc_block_store<T, VS, lsc_data_size::default_size,
cache_hint::none, cache_hint::none>(
acco, byte_off, vals, Flags{});
lsc_block_store<T, VS, DS>(acco, byte_off, vals, Flags{});
} else {
lsc_block_store<T, VS, lsc_data_size::default_size, L1H, L3H>(
acco, byte_off, vals);
lsc_block_store<T, VS, DS>(acco, byte_off, vals);
}
} else {
simd<uint32_t, VL> offset(byte_off, VS * sizeof(T));
Expand Down