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

[SYCL][ESIMD][EMU] Removing 'XFAIL' markings for 'single_task' tests #910

Merged
merged 5 commits into from
Mar 15, 2022
Merged
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
2 changes: 0 additions & 2 deletions SYCL/ESIMD/api/esimd_bit_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
Expand Down
2 changes: 2 additions & 0 deletions SYCL/ESIMD/api/esimd_pack_unpack_mask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to a bug in __esimd_pack_mask() intrinsic
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
Expand Down
2 changes: 0 additions & 2 deletions SYCL/ESIMD/api/esimd_rgba_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out

Expand Down
2 changes: 0 additions & 2 deletions SYCL/ESIMD/api/replicate_smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'half' type
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
Expand Down
15 changes: 9 additions & 6 deletions SYCL/ESIMD/api/svm_gather_scatter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,15 @@ int main(void) {
Pass &= test<int32_t, 16>(Q);
Pass &= test<int32_t, 32>(Q);

Pass &= test<half, 1>(Q);
Pass &= test<half, 2>(Q);
Pass &= test<half, 4>(Q);
Pass &= test<half, 8>(Q);
Pass &= test<half, 16>(Q);
Pass &= test<half, 32>(Q);
if (Q.get_backend() != cl::sycl::backend::ext_intel_esimd_emulator) {
/// TODO: Enable 'half' type support for esimd_emulator
Pass &= test<half, 1>(Q);
Pass &= test<half, 2>(Q);
Pass &= test<half, 4>(Q);
Pass &= test<half, 8>(Q);
Pass &= test<half, 16>(Q);
Pass &= test<half, 32>(Q);
}

std::cout << (Pass ? "Test Passed\n" : "Test FAILED\n");
return Pass ? 0 : 1;
Expand Down
2 changes: 0 additions & 2 deletions SYCL/ESIMD/printf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// CUDA and HIP don't support printf.
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// XFAIL: esimd_emulator
//
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
Expand Down
2 changes: 0 additions & 2 deletions SYCL/ESIMD/regression/variable_gather_mask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
//===----------------------------------------------------------------------===//
// REQUIRES: gpu
// UNSUPPORTED: cuda || hip
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
// XFAIL: esimd_emulator
// RUN: %clangxx -fsycl %s -o %t.out
// RUN: %GPU_RUN_PLACEHOLDER %t.out
//
Expand Down