Skip to content

Commit 6baf39e

Browse files
[SYCL][E2E] Switch Sampler/* tests to use <sycl/detail/core.hpp> (#13133)
1 parent af7a961 commit 6baf39e

19 files changed

+5
-20
lines changed

sycl/test-e2e/Sampler/basic-rw-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// RUN: %{run} %t.out
55

66
#include "common.hpp"
7-
#include <sycl/sycl.hpp>
87

98
using namespace sycl;
109

sycl/test-e2e/Sampler/basic-rw.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
*/
2222

2323
#include "common.hpp"
24-
#include <sycl/sycl.hpp>
2524

2625
using namespace sycl;
2726

sycl/test-e2e/Sampler/common.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#include <iostream>
22
#include <limits>
33
#include <string>
4-
#include <sycl/sycl.hpp>
54
#include <vector>
65

6+
#include <sycl/detail/core.hpp>
7+
8+
#include <sycl/builtins.hpp>
9+
710
using namespace sycl;
811

912
template <typename vecType, int numOfElems>
@@ -48,4 +51,4 @@ void check_pixels(accType &pixels, const std::vector<pixelType> &ref,
4851
check_pixel(testPixel, ref[ref_i], i);
4952
}
5053
offset += ref.size();
51-
}
54+
}

sycl/test-e2e/Sampler/normalized-clamp-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-clamp-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sycl/sycl.hpp>
1615

1716
using namespace sycl;
1817

sycl/test-e2e/Sampler/normalized-clampedge-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
#include "common.hpp"
19-
#include <sycl/sycl.hpp>
2019

2120
using namespace sycl;
2221

sycl/test-e2e/Sampler/normalized-clampedge-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-mirror-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-mirror-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-none-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-none-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sycl/sycl.hpp>
1615

1716
using namespace sycl;
1817

sycl/test-e2e/Sampler/normalized-repeat-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/normalized-repeat-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
#include "common.hpp"
18-
#include <sycl/sycl.hpp>
1918

2019
using namespace sycl;
2120

sycl/test-e2e/Sampler/unnormalized-clamp-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515

1616
#include "common.hpp"
17-
#include <sycl/sycl.hpp>
1817

1918
using namespace sycl;
2019

sycl/test-e2e/Sampler/unnormalized-clamp-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sycl/sycl.hpp>
1615

1716
using namespace sycl;
1817

sycl/test-e2e/Sampler/unnormalized-clampedge-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515

1616
#include "common.hpp"
17-
#include <sycl/sycl.hpp>
1817

1918
using namespace sycl;
2019

sycl/test-e2e/Sampler/unnormalized-clampedge-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sycl/sycl.hpp>
1615

1716
using namespace sycl;
1817

sycl/test-e2e/Sampler/unnormalized-none-linear-float.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*/
1515

1616
#include "common.hpp"
17-
#include <sycl/sycl.hpp>
1817

1918
using namespace sycl;
2019

sycl/test-e2e/Sampler/unnormalized-none-nearest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
*/
1313

1414
#include "common.hpp"
15-
#include <sycl/sycl.hpp>
1615

1716
using namespace sycl;
1817

0 commit comments

Comments
 (0)