Skip to content

Commit 1919364

Browse files
committed
simd_mask(simd<unint16_t, N>) is no longer deprecated - fix test.
1 parent 03aa218 commit 1919364

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sycl/test/esimd/simd_mask.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,12 @@ SYCL_EXTERNAL SYCL_ESIMD_FUNCTION void compat_test(float *ptr) {
6363
simd<int, 8> pred1(1);
6464
auto pred2 = pred1.bit_cast_view<unsigned short>();
6565

66-
// expected-warning@+1 {{deprecated}}
6766
auto x1 = gather<float, 16>(ptr, offsets, pred);
6867
// expected-warning@+1 {{deprecated}}
6968
auto x11 = gather<float, 16>(ptr, offsets, pred2);
70-
// expected-warning@+1 {{deprecated}}
7169
auto x2 = gather<float, 16>(ptr, offsets, simd<unsigned short, 16>{});
7270
simd_mask<16> m1(0);
73-
// expected-warning@+1 {{deprecated}}
7471
m1 = pred;
7572
simd_mask<16> m2(0);
76-
// expected-warning@+1 {{deprecated}}
7773
m2 = std::move(pred);
7874
}

0 commit comments

Comments
 (0)