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

Commit 49397b5

Browse files
Preparing enabling ESIMD_EMULATOR during CI
1 parent d759e04 commit 49397b5

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

SYCL/ESIMD/api/esimd_pack_unpack_mask.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
//===----------------------------------------------------------------------===//
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
10+
// TODO: esimd_emulator fails due to a bug in __esimd_pack_mask() intrinsic
11+
// XFAIL: esimd_emulator
1012
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
1113
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1214
//

SYCL/ESIMD/api/esimd_rgba_smoke.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//===----------------------------------------------------------------------===//
88
// REQUIRES: gpu
99
// UNSUPPORTED: cuda || hip
10-
// TODO: esimd_emulator fails due to unimplemented 'single_task()' method
11-
// XFAIL: esimd_emulator
1210
// RUN: %clangxx -fsycl %s -o %t.out
1311
// RUN: %GPU_RUN_PLACEHOLDER %t.out
1412

SYCL/ESIMD/api/svm_gather_scatter.cpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,15 @@ int main(void) {
100100
Pass &= test<int32_t, 16>(Q);
101101
Pass &= test<int32_t, 32>(Q);
102102

103-
Pass &= test<half, 1>(Q);
104-
Pass &= test<half, 2>(Q);
105-
Pass &= test<half, 4>(Q);
106-
Pass &= test<half, 8>(Q);
107-
Pass &= test<half, 16>(Q);
108-
Pass &= test<half, 32>(Q);
103+
if (Q.get_backend() != cl::sycl::backend::ext_intel_esimd_emulator) {
104+
/// TODO: Enable 'half' type support for esimd_emulator
105+
Pass &= test<half, 1>(Q);
106+
Pass &= test<half, 2>(Q);
107+
Pass &= test<half, 4>(Q);
108+
Pass &= test<half, 8>(Q);
109+
Pass &= test<half, 16>(Q);
110+
Pass &= test<half, 32>(Q);
111+
}
109112

110113
std::cout << (Pass ? "Test Passed\n" : "Test FAILED\n");
111114
return Pass ? 0 : 1;

0 commit comments

Comments
 (0)