This is a test plan for the properties as described in Section 4.5.4.1. of the SYCL 2020 specification. Specifically, it covers is_property
and is_property_of
. The estimated development time is one day.
No negative tests are included.
All the tests described below are not backend-specific and are performed for any SYCL backend.
Property |
Class |
Reference |
|
|
Table 31. |
|
|
Table 41. |
|
|
Table 48. |
|
|
Table 52. |
|
None |
Table 125. |
For each property Property
in the above table:
-
Check that
is_base_of_v<std::true_type, sycl::is_property<Property>>
is true. -
Check that
sycl::is_property_v<Property>
is true. -
For each class
Class
thatProperty
is associated with in the above table:-
Check that
is_base_of_v<std::true_type, sycl::is_property_of<Property, Class>>
is true.
-
-
Check that
sycl::is_property_of_v<Property, Class>
is true.