This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +11
-16
lines changed Expand file tree Collapse file tree 7 files changed +11
-16
lines changed Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// REQUIRES: gpu
9
9
// UNSUPPORTED: cuda || hip
10
- // TODO: esimd_emulator fails due to unimplemented 'single_task()' method
11
- // XFAIL: esimd_emulator
12
10
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
13
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
14
12
//
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// REQUIRES: gpu
9
9
// UNSUPPORTED: cuda || hip
10
+ // TODO: esimd_emulator fails due to a bug in __esimd_pack_mask() intrinsic
11
+ // XFAIL: esimd_emulator
10
12
// RUN: %clangxx -fsycl %s -fsycl-device-code-split=per_kernel -o %t.out
11
13
// RUN: %GPU_RUN_PLACEHOLDER %t.out
12
14
//
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// REQUIRES: gpu
9
9
// UNSUPPORTED: cuda || hip
10
- // TODO: esimd_emulator fails due to unimplemented 'single_task()' method
11
- // XFAIL: esimd_emulator
12
10
// RUN: %clangxx -fsycl %s -o %t.out
13
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
14
12
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// REQUIRES: gpu
9
9
// UNSUPPORTED: cuda || hip
10
- // TODO: esimd_emulator fails due to unimplemented 'half' type
11
- // XFAIL: esimd_emulator
12
10
// RUN: %clangxx -fsycl %s -o %t.out
13
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
14
12
//
Original file line number Diff line number Diff line change @@ -100,12 +100,15 @@ int main(void) {
100
100
Pass &= test<int32_t , 16 >(Q);
101
101
Pass &= test<int32_t , 32 >(Q);
102
102
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
+ }
109
112
110
113
std::cout << (Pass ? " Test Passed\n " : " Test FAILED\n " );
111
114
return Pass ? 0 : 1 ;
Original file line number Diff line number Diff line change 9
9
// REQUIRES: gpu
10
10
// UNSUPPORTED: cuda || hip
11
11
// CUDA and HIP don't support printf.
12
- // TODO: esimd_emulator fails due to unimplemented 'single_task()' method
13
- // XFAIL: esimd_emulator
14
12
//
15
13
// RUN: %clangxx -fsycl %s -o %t.out
16
14
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
// REQUIRES: gpu
9
9
// UNSUPPORTED: cuda || hip
10
- // TODO: esimd_emulator fails due to unimplemented 'single_task()' method
11
- // XFAIL: esimd_emulator
12
10
// RUN: %clangxx -fsycl %s -o %t.out
13
11
// RUN: %GPU_RUN_PLACEHOLDER %t.out
14
12
//
You can’t perform that action at this time.
0 commit comments