From 9ccf12eff013e706c44afaf1889f62061dcde1ae Mon Sep 17 00:00:00 2001 From: "Cai, Justin" Date: Fri, 12 Jul 2024 13:04:45 +0000 Subject: [PATCH 1/2] [SYCL][NFC] Update AOT/double.cpp to not run pvc compilation on windows --- sycl/test-e2e/AOT/double.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/AOT/double.cpp b/sycl/test-e2e/AOT/double.cpp index 813fb194e017..8c18a1cf1f67 100644 --- a/sycl/test-e2e/AOT/double.cpp +++ b/sycl/test-e2e/AOT/double.cpp @@ -3,9 +3,13 @@ // REQUIRES: ocloc // RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s -// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.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 +// result in an error when on windows. (In general, there is no support +// for pvc on windows.) +// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %} + #include using namespace sycl; From a3ee6ccfaa53813e30c6575730b941e8e2621fab Mon Sep 17 00:00:00 2001 From: "Cai, Justin" Date: Fri, 12 Jul 2024 07:29:02 -0700 Subject: [PATCH 2/2] Update reqd-sg-size.cpp --- sycl/test-e2e/AOT/reqd-sg-size.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/AOT/reqd-sg-size.cpp b/sycl/test-e2e/AOT/reqd-sg-size.cpp index 5272f25e8301..362827483653 100644 --- a/sycl/test-e2e/AOT/reqd-sg-size.cpp +++ b/sycl/test-e2e/AOT/reqd-sg-size.cpp @@ -3,9 +3,13 @@ // REQUIRES: ocloc // RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s -// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.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 +// result in an error when on windows. (In general, there is no support +// for pvc on windows.) +// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %} + #include #include