Skip to content

[SYCL][E2E] Make layout_array.cpp use specific headers #16822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions sycl/test/abi/layout_array.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@

// clang-format off

// TODO fix individual headers and include them instead of sycl.hpp
#include <sycl/sycl.hpp>
#include <sycl/id.hpp>
#include <sycl/nd_item.hpp>
#include <sycl/nd_range.hpp>


SYCL_EXTERNAL void id(sycl::id<2>) {}
Expand All @@ -30,7 +31,7 @@ SYCL_EXTERNAL void range(sycl::range<2>) {}
//----------------------------

SYCL_EXTERNAL void nd_item(sycl::nd_item<2>) {}
// CHECK: 0 | class sycl::nd_item<> (empty)
// CHECK: 0 | class sycl::nd_item<2> (empty)
// CHECK-NEXT: | [sizeof=1, dsize=0, align=1,
// CHECK-NEXT: | nvsize=0, nvalign=1]

Expand Down