Skip to content

Commit 0a39bb8

Browse files
authored
[SYCL][ESIMD][E2E] Revert "Fix compile fail for lsc_gather_scatter_stateless_64.cpp test (#9816)" (#9911)
After 8b85b64, we don't need the conversion operator so let's revert the change. I manually confirmed this compiles. This reverts commit f448631.
1 parent a4164ef commit 0a39bb8

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

sycl/test-e2e/ESIMD/lsc/lsc_gather_scatter_stateless_64.cpp

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,26 +40,18 @@ int main() {
4040
uint64_t offsetStart = (Size - VL) * sizeof(uint64_t);
4141
simd<uint64_t, VL> offset(offsetStart, sizeof(uint64_t));
4242
simd<uint64_t, VL> beginning(0, sizeof(uint64_t));
43-
simd<uint64_t, VL> va =
44-
lsc_gather<uint64_t, 1, lsc_data_size::default_size,
45-
cache_hint::none, cache_hint::none, VL>(PA, beginning);
43+
simd<uint64_t, VL> va = lsc_gather<uint64_t>(PA, beginning);
4644
simd_mask<VL> pred = 1;
4745
simd<uint64_t, VL> old_values = 0;
4846
lsc_prefetch<uint64_t, 1, lsc_data_size::default_size,
49-
cache_hint::cached, cache_hint::cached, VL>(PA, offset);
47+
cache_hint::cached, cache_hint::cached>(PA, offset);
5048
simd<uint64_t, VL> vb =
51-
lsc_gather<uint64_t, 1, lsc_data_size::default_size,
52-
cache_hint::none, cache_hint::none, VL>(
53-
PA, offset, pred, old_values);
54-
simd<uint64_t, VL> vc =
55-
lsc_gather<uint64_t, 1, lsc_data_size::default_size,
56-
cache_hint::none, cache_hint::none, VL>(PA, offset);
49+
lsc_gather<uint64_t>(PA, offset, pred, old_values);
50+
simd<uint64_t, VL> vc = lsc_gather<uint64_t>(PA, offset);
5751
va *= 5;
5852
vb += vc;
59-
lsc_scatter<uint64_t, 1, lsc_data_size::default_size, cache_hint::none,
60-
cache_hint::none, VL>(PA, beginning, va);
61-
lsc_scatter<uint64_t, 1, lsc_data_size::default_size, cache_hint::none,
62-
cache_hint::none, VL>(PA, offset, vb);
53+
lsc_scatter<uint64_t>(PA, beginning, va);
54+
lsc_scatter<uint64_t>(PA, offset, vb);
6355
});
6456
}).wait();
6557
} catch (sycl::exception const &e) {

0 commit comments

Comments
 (0)