File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sycl/include/sycl/ext/oneapi/property_list Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ struct foo {
100
100
foo(int v) : value(v) {}
101
101
int value;
102
102
};
103
-
103
+
104
104
// (3.)
105
105
inline bool operator==(const foo &lhs, const foo &rhs) {
106
106
return lhs.value == rhs.value;
@@ -110,12 +110,12 @@ inline bool operator!=(const foo &lhs, const foo &rhs) {
110
110
}
111
111
112
112
namespace detail {
113
-
113
+
114
114
// (4.)
115
115
template <> struct PropertyToKind<foo> {
116
116
static constexpr PropKind Kind = PropKind::Foo;
117
117
};
118
-
118
+
119
119
// (5.)
120
120
template <> struct IsRuntimeProperty<foo> : std::true_type {};
121
121
} // namespace detail
@@ -127,7 +127,7 @@ template <> struct is_property<ext::oneapi::foo> : std::true_type {};
127
127
// Replace SYCL_OBJ with the SYCL object to support the property.
128
128
template <> struct is_property_of<ext::oneapi::foo, SYCL_OBJ>
129
129
: std::true_type {};
130
-
130
+
131
131
} // namespace sycl
132
132
*******************************************************************************/
133
133
You can’t perform that action at this time.
0 commit comments