Skip to content

[SYCL] Remove sycl::byte from tests #4423

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions sycl/test/basic_tests/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ int main() {
// Check the size and alignment of the SYCL vectors.
checkVectors();

// Table 4.93: Additional scalar data types supported by SYCL.
static_assert(sizeof(s::byte) == sizeof(int8_t), "");

// Table 4.94: Scalar data type aliases supported by SYCL
static_assert(is_same<s::cl_bool, decltype(0 != 1)>::value, "");
checkSizeForSignedIntegral<s::cl_char, sizeof(int8_t)>();
Expand Down
4 changes: 0 additions & 4 deletions sycl/test/warnings/sycl_2020_deprecations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ int main() {
});
});

// expected-warning@+1{{'byte' is deprecated: use std::byte instead}}
sycl::byte B;
(void)B;

// expected-warning@+1{{'max_constant_buffer_size' is deprecated: max_constant_buffer_size is deprecated}}
auto MCBS = sycl::info::device::max_constant_buffer_size;
(void)MCBS;
Expand Down