From a148124fd2fd36f7c44db1657847001cca03734c Mon Sep 17 00:00:00 2001 From: Andrei Elovikov Date: Mon, 12 Sep 2022 17:27:27 -0700 Subject: [PATCH 1/2] [SYCL] Change ESIMD/aot_mixed.cpp to AOT-compile for all devices This should fix the CI fails on it. --- SYCL/ESIMD/aot_mixed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SYCL/ESIMD/aot_mixed.cpp b/SYCL/ESIMD/aot_mixed.cpp index 0f237a558a..4d9a1857ca 100644 --- a/SYCL/ESIMD/aot_mixed.cpp +++ b/SYCL/ESIMD/aot_mixed.cpp @@ -8,9 +8,9 @@ // REQUIRES: gpu // UNSUPPORTED: cuda || hip // UNSUPPORTED: esimd_emulator -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.sycl.out -DENABLE_SYCL=0 %s +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" -o %t.sycl.out -DENABLE_SYCL=0 %s // RUN: %GPU_RUN_PLACEHOLDER %t.sycl.out -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9" -o %t.out %s +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" -o %t.out %s // RUN: %GPU_RUN_PLACEHOLDER %t.out // This test checks the following ESIMD ahead-of-time compilation scenarios: From 1cad0b3c2d019cc4fa9622bb01907b3d68c6af39 Mon Sep 17 00:00:00 2001 From: aelovikov-intel Date: Tue, 13 Sep 2022 09:48:53 -0700 Subject: [PATCH 2/2] Let's try "gen9:" then --- SYCL/ESIMD/aot_mixed.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SYCL/ESIMD/aot_mixed.cpp b/SYCL/ESIMD/aot_mixed.cpp index 4d9a1857ca..21571ef96a 100644 --- a/SYCL/ESIMD/aot_mixed.cpp +++ b/SYCL/ESIMD/aot_mixed.cpp @@ -8,9 +8,9 @@ // REQUIRES: gpu // UNSUPPORTED: cuda || hip // UNSUPPORTED: esimd_emulator -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" -o %t.sycl.out -DENABLE_SYCL=0 %s +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9:" -o %t.sycl.out -DENABLE_SYCL=0 %s // RUN: %GPU_RUN_PLACEHOLDER %t.sycl.out -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" -o %t.out %s +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device gen9:" -o %t.out %s // RUN: %GPU_RUN_PLACEHOLDER %t.out // This test checks the following ESIMD ahead-of-time compilation scenarios: