This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Expand file tree Collapse file tree 2 files changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -100,16 +100,12 @@ int main(void) {
100
100
Pass &= test<int32_t , 16 >(Q);
101
101
Pass &= test<int32_t , 32 >(Q);
102
102
103
- if (Q.get_backend () != 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
- }
112
-
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);
113
109
std::cout << (Pass ? " Test Passed\n " : " Test FAILED\n " );
114
110
return Pass ? 0 : 1 ;
115
111
}
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
@@ -469,8 +467,11 @@ int main(void) {
469
467
Pass &= testESIMD<half, 8 >(Q);
470
468
Pass &= testESIMD<float , 16 >(Q);
471
469
Pass &= testESIMD<float , 32 >(Q);
472
- Pass &= testSYCL<float , 8 >(Q);
473
- Pass &= testSYCL<float , 32 >(Q);
470
+ if (Q.get_backend () != sycl::backend::ext_intel_esimd_emulator) {
471
+ // ESIMD_EMULATOR supports only ESIMD kernels
472
+ Pass &= testSYCL<float , 8 >(Q);
473
+ Pass &= testSYCL<float , 32 >(Q);
474
+ }
474
475
Pass &= testESIMDSqrtIEEE<float , 16 >(Q);
475
476
Pass &= testESIMDSqrtIEEE<double , 32 >(Q);
476
477
Pass &= testESIMDDivIEEE<float , 8 >(Q);
You can’t perform that action at this time.
0 commit comments