This is a test plan for the interface of the stream class as described in Section 4.16.1 of the SYCL 2020 specification. The existing tests are updated from SYCL 1.2.1 to SYCL 2020. The estimated development time is half a day.
No negative test are included. Specifically, the statement
Regardless of this implementation defined behavior of output exceeding the limits, no undefined or erroneous behavior is permitted of an implementation when the limits are exceeded.
is not included in the test plan.
All the tests described below are not backend-specific and are performed for any SYCL backend.
The existing test for the stream class tests the stream operator using a multitude of types. The following types are not supported in SYCL 2020 and are removed from the test:
-
cl_char
-
cl_uchar
-
cl_int
-
cl_uint
-
cl_short
-
cl_ushort
-
cl_long
-
cl_ulong
-
sycl::byte
-
cl_float
-
cl_double
-
cl_half
-
The existing constructor test is extended to also check construction when an empty property list is passed. Note: no properties are defined for
sycl::stream
.