Skip to content

Commit c738afd

Browse files
committed
Merge branch 'depr_byte_tests' into depr_byte
2 parents 44542ab + 91dc8a2 commit c738afd

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

sycl/test/basic_tests/types.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ int main() {
9393
// Check the size and alignment of the SYCL vectors.
9494
checkVectors();
9595

96-
// Table 4.93: Additional scalar data types supported by SYCL.
97-
static_assert(sizeof(s::byte) == sizeof(int8_t), "");
98-
9996
// Table 4.94: Scalar data type aliases supported by SYCL
10097
static_assert(is_same<s::cl_bool, decltype(0 != 1)>::value, "");
10198
checkSizeForSignedIntegral<s::cl_char, sizeof(int8_t)>();

sycl/test/warnings/sycl_2020_deprecations.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ int main() {
130130
});
131131
});
132132

133-
// expected-warning@+1{{'byte' is deprecated: use std::byte instead}}
134-
sycl::byte B;
135-
(void)B;
136-
137133
// expected-warning@+1{{'max_constant_buffer_size' is deprecated: max_constant_buffer_size is deprecated}}
138134
auto MCBS = sycl::info::device::max_constant_buffer_size;
139135
(void)MCBS;

0 commit comments

Comments
 (0)