File tree Expand file tree Collapse file tree 11 files changed +14
-21
lines changed Expand file tree Collapse file tree 11 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
3
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
4
4
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
5
5
6
6
#ifdef _WIN32
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
4
- // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
3
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
5
5
6
6
#include < sycl/sycl.hpp>
7
7
Original file line number Diff line number Diff line change 2
2
3
3
// RUN: %{build} %{mathflags} -o %t.out
4
4
// RUN: %{run} %t.out
5
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %{mathflags} %s -o %t2.out %}
5
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes %{mathflags} -o %t2.out %}
6
6
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
7
7
8
8
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
4
- // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
3
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
5
5
6
6
#include < sycl/sycl.hpp>
7
7
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
3
4
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
5
- // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
5
+ // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
6
6
7
7
// ==-------------- vec_bool.cpp - SYCL vec<> for bool test -----------------==//
8
8
//
Original file line number Diff line number Diff line change 10
10
// RUN: %{build} -o %t.out -DSYCL2020_DISABLE_DEPRECATION_WARNINGS
11
11
// RUN: %{run} %t.out
12
12
//
13
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes -DSYCL2020_DISABLE_DEPRECATION_WARNINGS %s -o %t2.out %}
13
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -DSYCL2020_DISABLE_DEPRECATION_WARNINGS -o %t2.out %}
14
14
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
15
15
16
16
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -std=c++17 -o %t.out
2
2
// RUN: %{run} %t.out
3
3
4
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes -std=c++17 %s -o %t2.out %}
5
- // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -std=c++17 -o %t2.out %}
5
+ // RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
6
6
7
7
// ==---------- vector_byte.cpp - SYCL vec<> for std::byte test -------------==//
8
8
//
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
3
4
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
5
5
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
6
6
7
7
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change 1
1
// RUN: %{build} -o %t.out
2
2
// RUN: %{run} %t.out
3
3
4
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
4
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
5
5
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
6
6
7
7
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change 2
2
// RUN: %{build} -o %t.out
3
3
// RUN: %{run} %t.out
4
4
5
- // RUN: %if preview-breaking-changes-supported %{ %clangxx -fsycl - fpreview-breaking-changes %s -o %t2.out %}
5
+ // RUN: %if preview-breaking-changes-supported %{ %{build} - fpreview-breaking-changes -o %t2.out %}
6
6
// RUN: %if preview-breaking-changes-supported %{ %{run} %t2.out %}
7
7
8
8
#include < sycl/sycl.hpp>
Original file line number Diff line number Diff line change @@ -184,13 +184,6 @@ def get_extra_env(sycl_devices):
184
184
185
185
substitutions .append (('%{run-unfiltered-devices}' , run_unfiltered_substitution ))
186
186
187
-
188
- # Temporary fix due to failures in CUDA and HIP behind preview flag.
189
- if ((('ext_oneapi_cuda:gpu' in devices_for_test ) or
190
- ('ext_oneapi_hip:gpu' in devices_for_test )) and
191
- ('preview-breaking-changes-supported' in test .config .available_features )):
192
- test .config .available_features .remove ('preview-breaking-changes-supported' )
193
-
194
187
new_script = []
195
188
for directive in script :
196
189
if not isinstance (directive , lit .TestRunner .CommandDirective ):
You can’t perform that action at this time.
0 commit comments