Skip to content

Commit 4f4ad17

Browse files
[ESIMD] Update replicate_bug.cpp after a fix in simd::replicate_w (intel/llvm-test-suite#379)
1 parent 0ec5f7b commit 4f4ad17

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

SYCL/ESIMD/regression/replicate_bug.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ template <int Width> bool test(queue q, const std::vector<int> &gold) {
4343
using namespace sycl::ext::intel::experimental::esimd;
4444
simd<int, VL> va;
4545
va.copy_from(A);
46-
// FIXME: it should be similar to replicate_vs_w_hs<VL, 0, 1, 1>(1);
4746
simd<int, VL *Width> vb = va.replicate_w<VL, Width>(1);
4847
vb.copy_to(B);
4948
});
@@ -84,14 +83,7 @@ int main(void) {
8483
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
8584

8685
bool passed = true;
87-
// FIXME: remove #else once fix is available
88-
#ifdef CORRECT_BEHAVIOR
8986
passed &= test<1>(q, {1, 1, 1, 1, 1, 1, 1, 1});
9087
passed &= test<2>(q, {1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2});
91-
#else
92-
passed &= test<1>(q, {1, 2, 3, 4, 5, 6, 7, 0});
93-
passed &= test<2>(q, {1, 2, 3, 4, 5, 6, 7, 0, 2, 3, 4, 5, 6, 7, 0, 0});
94-
#endif
95-
9688
return passed ? 0 : 1;
9789
}

0 commit comments

Comments
 (0)