19
19
// key. The variable should have the same type as `value_t` of the property
20
20
// class, e.g. for a property `foo`, there should be a definition
21
21
// `inline constexpr foo_key::value_t foo`.
22
- // 4. Specialize `sycl::ext::oneapi::experimental::is_property ` and
23
- // `sycl::ext::oneapi::experimental::is_property_of ` for the property key
22
+ // 4. Specialize `sycl::ext::oneapi::experimental::is_property_key ` and
23
+ // `sycl::ext::oneapi::experimental::is_property_key_of ` for the property key
24
24
// class.
25
25
// 5. Specialize `sycl::ext::oneapi::experimental::detail::PropertyToKind` for
26
26
// the new property key class. The specialization should have a `Kind`
@@ -49,9 +49,9 @@ struct bar_key {
49
49
inline constexpr bar_key::value_t bar;
50
50
51
51
// (4.)
52
- template <> struct is_property <bar_key> : std::true_type {};
52
+ template <> struct is_property_key <bar_key> : std::true_type {};
53
53
// Replace SYCL_OBJ with the SYCL object to support the property.
54
- template <> struct is_property_of <bar_key, SYCL_OBJ> : std::true_type {};
54
+ template <> struct is_property_key_of <bar_key, SYCL_OBJ> : std::true_type {};
55
55
56
56
namespace detail {
57
57
@@ -77,8 +77,8 @@ template <> struct IsCompileTimeProperty<bar_key> : std::true_type {};
77
77
// property `foo` the class should be named `foo_key`.
78
78
// 4. Overload the `==` and `!=` operators for the new property class. The
79
79
// comparison should compare all data members of the property class.
80
- // 5. Specialize `sycl::ext::oneapi::experimental::is_property ` and
81
- // `sycl::ext::oneapi::experimental::is_property_of ` for the property class.
80
+ // 5. Specialize `sycl::ext::oneapi::experimental::is_property_key ` and
81
+ // `sycl::ext::oneapi::experimental::is_property_key_of ` for the property class.
82
82
// 6. Specialize `sycl::ext::oneapi::detail::PropertyToKind` for the new
83
83
// property class. The specialization should have a `Kind` member with the
84
84
// value equal to the enumerator added in 1.
0 commit comments