From 95086a294a8022ee059de7ff3c0b77869f55e5f8 Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Tue, 6 Feb 2024 21:04:38 +0000 Subject: [PATCH] [SYCL][ESIMD][E2E] Run aot_mixed.cpp only on Gen12 for now (#12630) If we pass `%gpu_aot_target_opt` that compiles for all GPUs and we hit an ocloc bug when compiling for xe-lpgplus-a0 in the new driver. This is blocking driver uplift. I will make an internal ticket for the IGC team. Signed-off-by: Sarnie, Nick --- sycl/test-e2e/ESIMD/aot_mixed.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sycl/test-e2e/ESIMD/aot_mixed.cpp b/sycl/test-e2e/ESIMD/aot_mixed.cpp index fdd2b8f3d2e62..32c10969ee51b 100644 --- a/sycl/test-e2e/ESIMD/aot_mixed.cpp +++ b/sycl/test-e2e/ESIMD/aot_mixed.cpp @@ -5,10 +5,11 @@ // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// -// REQUIRES: ocloc -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -o %t.sycl.out -DENABLE_SYCL=0 %s +// TODO: Enable on other GPUs once internal ticket is fixed +// REQUIRES: ocloc && gpu-intel-gen12 +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen -Xs "-device tgllp" -o %t.sycl.out -DENABLE_SYCL=0 %s // RUN: %{run} %t.sycl.out -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -o %t.out %s +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen -Xs "-device tgllp" -o %t.out %s // RUN: %{run} %t.out // This test checks the following ESIMD ahead-of-time compilation scenarios: