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

Commit 2f9b192

Browse files
Merge branch 'intel' of https://github.com/intel/llvm-test-suite into esimd_emu_test_updates
2 parents c639105 + 857b056 commit 2f9b192

File tree

5 files changed

+275
-87
lines changed

5 files changed

+275
-87
lines changed

SYCL/ESIMD/aot_mixed.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,14 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
// This test passes with 21.49.21786 driver, and fails with older versions.
9-
// REQUIRES: gpu, TEMPORARILY_DISABLED
8+
// REQUIRES: gpu
109
// UNSUPPORTED: cuda || hip
1110
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.sycl.out -DENABLE_SYCL=0 %s
1211
// RUN: %GPU_RUN_PLACEHOLDER %t.sycl.out
1312
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.out %s
1413
// RUN: %GPU_RUN_PLACEHOLDER %t.out
15-
// XFAIL: *
16-
// TODO: remove XFAIL once ocloc support for automatic scalar/vector SPIRV
17-
// module dispatching is available in public drivers. Also change '-device gen9'
18-
// (safe variant to reliably get unexpected PASS when ocloc is fixed) to
19-
// %gpu_aot_target_opts aka '-device *' (which stresses ocloc).
2014

21-
// This test checks ESIMD ahead-of-time compilation scenarios:
15+
// This test checks the following ESIMD ahead-of-time compilation scenarios:
2216
// 1) When the application contains both SYCL and ESIMD kernel, thus requiring
2317
// different GPU back-ends (scalar and vector) to kick-in at compile-time.
2418
// 2) When the application contains only ESIMD kernel.

SYCL/ESIMD/api/esimd_rgba_smoke.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ int main(void) {
213213
passed &= test<rgba_channel_mask::A>(q);
214214
passed &= test<rgba_channel_mask::R>(q);
215215
passed &= test<rgba_channel_mask::B>(q);
216+
// TODO disabled due to a compiler bug:
217+
//passed &= test<rgba_channel_mask::ABR>(q);
216218

217219
std::cout << (passed ? "Test passed\n" : "Test FAILED\n");
218220
return passed ? 0 : 1;

0 commit comments

Comments
 (0)