Skip to content

Commit 83a5cb6

Browse files
authored
[SYCL][ESIMD][E2E] Enable some tests (#14330)
These tests pass now. Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 78ee29d commit 83a5cb6

File tree

6 files changed

+5
-25
lines changed

6 files changed

+5
-25
lines changed

sycl/test-e2e/ESIMD/api/functional/operators/operator_logical_not.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// TODO This test freezed on Linux OS, enable test on linux once this issue will
9-
// be fixed.
10-
// REQUIRES: windows
118
// RUN: %{build} -fsycl-device-code-split=per_kernel -o %t.out
129
// RUN: %{run} %t.out
1310
//

sycl/test-e2e/ESIMD/api/replicate_smoke.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// https://github.com/intel/llvm/issues/10369
9-
// UNSUPPORTED: gpu
108
//
119
// UNSUPPORTED: gpu-intel-pvc
1210
// TODO: remove fno-fast-math option once the issue is investigated and the test
@@ -17,16 +15,13 @@
1715
//
1816
// The test checks main functionality of the esimd::replicate_vs_w_hs function.
1917

20-
// Temporarily disable while the failure is being investigated.
21-
// UNSUPPORTED: windows
22-
2318
#include "../esimd_test_utils.hpp"
2419

2520
using namespace sycl;
2621
using namespace sycl::ext::intel::esimd;
2722
using bfloat16 = sycl::ext::oneapi::bfloat16;
2823
using tfloat32 = sycl::ext::intel::experimental::esimd::tfloat32;
29-
24+
namespace syclex = sycl::ext::oneapi::experimental;
3025
template <class T> struct char_to_int {
3126
using type = typename std::conditional<
3227
sizeof(T) == 1,
@@ -182,6 +177,8 @@ int main(int argc, char **argv) {
182177
queue q(esimd_test::ESIMDSelector, esimd_test::createExceptionHandler());
183178
auto dev = q.get_device();
184179
const bool doublesSupported = dev.has(sycl::aspect::fp64);
180+
syclex::architecture arch =
181+
dev.get_info<syclex::info::device::architecture>();
185182
std::cout << "Running on " << dev.get_info<sycl::info::device::name>()
186183
<< "\n";
187184
bool passed = true;
@@ -192,7 +189,8 @@ int main(int argc, char **argv) {
192189
passed &= test<short>(q);
193190
passed &= test<unsigned short>(q);
194191
passed &= test<int>(q);
195-
passed &= test<uint64_t>(q);
192+
if (arch > syclex::architecture::intel_gpu_dg1)
193+
passed &= test<uint64_t>(q);
196194
passed &= test<float>(q);
197195
#ifdef USE_TF32
198196
passed &= test<tfloat32>(q);

sycl/test-e2e/ESIMD/api/replicate_smoke_pvc.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
// The test checks main functionality of the esimd::replicate_vs_w_hs function.
1313
// PVC variant of the test - adds tfloat32.
1414

15-
// Temporarily disable while the failure is being investigated.
16-
// UNSUPPORTED: windows
17-
1815
#define USE_TF32
1916

2017
#include "replicate_smoke.cpp"

sycl/test-e2e/ESIMD/fp_in_phi.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// On Windows vector compute backend (as a part of IGC) uses llvm-7 and llvm-7
9-
// based spirv translator. This test should start working on Windows when the
10-
// llvm version is switched to 9.
11-
// UNSUPPORTED: windows
128
// RUN: %{build} -Xclang -fsycl-allow-func-ptr -o %t.out
139
// RUN: %{run} %t.out
1410
// UNSUPPORTED: ze_debug

sycl/test-e2e/ESIMD/fp_in_select.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,8 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// On Windows vector compute backend (as a part of IGC) uses llvm-7 and llvm-7
9-
// based spirv translator. This test should start working on Windows when the
10-
// llvm version is switched to 9.
11-
// UNSUPPORTED: windows
128
// RUN: %{build} -Xclang -fsycl-allow-func-ptr -o %t.out
139
// RUN: %{run} %t.out
14-
// The test fails on JITing due to use of too many registers
15-
// REQUIRES: TEMPORARY_DISBLED
1610
//
1711
// The test checks that ESIMD kernels correctly handle function pointers as
1812
// arguments of LLVM's select function.

sycl/test-e2e/ESIMD/noinline_call_from_func.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// Test currently timeouts on Windows Level Zero and OpenCL
9-
// UNSUPPORTED: windows
108
// RUN: %{build} -o %t.out
119
// RUN: env IGC_FunctionControl=3 IGC_ForceInlineStackCallWithImplArg=1 %{run} %t.out
1210
//

0 commit comments

Comments
 (0)