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

[SYCL][ESIMD] Fix sync bug in functional ctors test #851

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions SYCL/ESIMD/api/functional/ctors/ctor_default.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ template <typename DataT, typename SizeT, typename TestCaseT> struct run_test {
TestCaseT::template call_simd_ctor<DataT, NumElems>(out);
});
});
queue.wait_and_throw();

for (size_t i = 0; i < result.size(); ++i) {
if (result[i] != default_val) {
Expand Down
3 changes: 3 additions & 0 deletions SYCL/ESIMD/api/functional/ctors/ctor_default_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// UNSUPPORTED: cuda, hip
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// XFAIL: *
// TODO simd object constructed by variable declaration context filled with
// unexpected values, remove XFAIL once this issue will be fixed.
//
// Test for simd default constructor.
// This test uses different data types, sizes and different simd constructor
Expand Down
3 changes: 3 additions & 0 deletions SYCL/ESIMD/api/functional/ctors/ctor_default_fp_extra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
// UNSUPPORTED: cuda, hip
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
// XFAIL: *
// TODO simd object constructed by variable declaration context filled with
// unexpected values, remove XFAIL once this issue will be fixed.
//
// Test for simd default constructor.
// This test uses different data types, sizes and different simd constructor
Expand Down