From 34b8e40b58685121a21625255cbe6f86987b9bbf Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Wed, 17 Jul 2024 12:22:21 -0400 Subject: [PATCH] [SYCL][E2E] Fix more Windows AOT tests (#14588) Windows ocloc currently doesn't run in CI, and I'm trying to enable it. I hit failures here when trying to enable it. See run [here](https://github.com/intel/llvm/actions/runs/9960990637/job/27525889216?pr=14114). ``` ... # | Could not determine device target: cfl. # | Error: Cannot get HW Info for device cfl. ... ``` Signed-off-by: Sarnie, Nick --- sycl/test-e2e/AOT/double.cpp | 6 +++--- sycl/test-e2e/AOT/reqd-sg-size.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sycl/test-e2e/AOT/double.cpp b/sycl/test-e2e/AOT/double.cpp index 8c18a1cf1f67a..fc0b4e5ec8965 100644 --- a/sycl/test-e2e/AOT/double.cpp +++ b/sycl/test-e2e/AOT/double.cpp @@ -3,11 +3,11 @@ // REQUIRES: ocloc // RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s -// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s -// ocloc on windows does not have support for PVC, so this command will +// ocloc on windows does not have support for PVC/CFL, so this command will // result in an error when on windows. (In general, there is no support -// for pvc on windows.) +// for pvc/cfl on windows.) +// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s %} // RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %} #include diff --git a/sycl/test-e2e/AOT/reqd-sg-size.cpp b/sycl/test-e2e/AOT/reqd-sg-size.cpp index 362827483653a..c4f7fda3c30cc 100644 --- a/sycl/test-e2e/AOT/reqd-sg-size.cpp +++ b/sycl/test-e2e/AOT/reqd-sg-size.cpp @@ -3,11 +3,11 @@ // REQUIRES: ocloc // RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s -// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s -// ocloc on windows does not have support for PVC, so this command will +// ocloc on windows does not have support for PVC/CFL, so this command will // result in an error when on windows. (In general, there is no support -// for pvc on windows.) +// for pvc/cfl on windows.) +// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s %} // RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %} #include