Skip to content

Commit 88a1402

Browse files
authored
[SYCL][NFC] Update AOT optional kernel features test to not run pvc compilation on windows (#14556)
1 parent 56e88d5 commit 88a1402

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

sycl/test-e2e/AOT/double.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
// REQUIRES: ocloc
55
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s
6-
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s
76
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s
87

8+
// ocloc on windows does not have support for PVC, so this command will
9+
// result in an error when on windows. (In general, there is no support
10+
// for pvc on windows.)
11+
// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %}
12+
913
#include <sycl/detail/core.hpp>
1014

1115
using namespace sycl;

sycl/test-e2e/AOT/reqd-sg-size.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33

44
// REQUIRES: ocloc
55
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_tgllp -o %t.tgllp.out %s
6-
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s
76
// RUN: %clangxx -fsycl -fsycl-targets=intel_gpu_cfl -o %t.cfl.out %s
87

8+
// ocloc on windows does not have support for PVC, so this command will
9+
// result in an error when on windows. (In general, there is no support
10+
// for pvc on windows.)
11+
// RUN: %if !windows %{ %clangxx -fsycl -fsycl-targets=intel_gpu_pvc -o %t.pvc.out %s %}
12+
913
#include <cstdio>
1014
#include <iostream>
1115

0 commit comments

Comments
 (0)