Commit 20d4bec
[SYCL][E2E] Make layout_array.cpp use specific headers (#16822)
The layout_array test is currently prone to failure if any of the types
it checks are instantiated by the headers rather than by the test
itself. This means that unrelated changes to the SYCL headers may make
the test fail due to one of the types being instantiated earlier than
the test instantiates other types that go before it. To avoid this
issue, this commit makes the test use specific headers, reducing the
chance of instantiations.
This commit also fixes a faulty expectation in the `nd_item` test case.
---------
Signed-off-by: Larsen, Steffen <[email protected]>
Co-authored-by: Daniel Skrobot <[email protected]>1 parent adeaea8 commit 20d4bec
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments