Skip to content

Commit 38afcf6

Browse files
authored
[SYCL][E2E] Use build expansion in bindless_images tests (#14639)
1 parent 3bd3256 commit 38afcf6

22 files changed

+22
-22
lines changed

sycl/test-e2e/bindless_images/cubemap/cubemap_unsampled.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda,aspect-ext_oneapi_cubemap
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include "../helpers/common.hpp"

sycl/test-e2e/bindless_images/image_get_info.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/mipmap/mipmap_read_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/mipmap/mipmap_read_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/mipmap/mipmap_read_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_2D_dynamic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_sampled.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
// Print test names and pass status

sycl/test-e2e/bindless_images/read_write_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_1D_subregion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_2D_subregion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_3D_subregion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/read_write_unsampled.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include "helpers/common.hpp"

sycl/test-e2e/bindless_images/sampling_1D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/sampling_2D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

sycl/test-e2e/bindless_images/sampling_2D_USM_shared.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: cuda
22
// REQUIRES: aspect-ext_oneapi_bindless_images_shared_usm
33

4-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
4+
// RUN: %{build} -o %t.out
55
// RUN: %t.out
66

77
#include <cmath>

sycl/test-e2e/bindless_images/sampling_2D_half.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: cuda
22
// REQUIRES: aspect-fp16
33

4-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
4+
// RUN: %{build} -o %t.out
55
// RUN: %t.out
66

77
#include <iostream>

sycl/test-e2e/bindless_images/sampling_3D.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// REQUIRES: cuda
22

3-
// RUN: %clangxx -fsycl -fsycl-targets=%{sycl_triple} %s -o %t.out
3+
// RUN: %{build} -o %t.out
44
// RUN: %t.out
55

66
#include <iostream>

0 commit comments

Comments
 (0)