File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
sycl/include/sycl/properties Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ struct is_property<ext::intel::property::buffer_location> : std::true_type {};
188188
189189template <typename T>
190190struct is_property_of <property::noinit, T>
191- : std::bool_constant<detail::acc_properties::is_accessor <T>::value ||
192- detail::acc_properties::is_host_accessor <T>::value > {};
191+ : std::bool_constant<detail::acc_properties::is_accessor_v <T> ||
192+ detail::acc_properties::is_host_accessor_v <T>> {};
193193
194194template <typename T>
195195struct is_property_of <property::no_init, T>
@@ -201,15 +201,15 @@ struct is_property_of<property::no_init, T>
201201
202202template <typename T>
203203struct is_property_of <ext::oneapi::property::no_offset, T>
204- : std::bool_constant<detail::acc_properties::is_accessor <T>::value > {};
204+ : std::bool_constant<detail::acc_properties::is_accessor_v <T>> {};
205205
206206template <typename T>
207207struct is_property_of <ext::oneapi::property::no_alias, T>
208- : std::bool_constant<detail::acc_properties::is_accessor <T>::value > {};
208+ : std::bool_constant<detail::acc_properties::is_accessor_v <T>> {};
209209
210210template <typename T>
211211struct is_property_of <ext::intel::property::buffer_location, T>
212- : std::bool_constant<detail::acc_properties::is_accessor <T>::value > {};
212+ : std::bool_constant<detail::acc_properties::is_accessor_v <T>> {};
213213
214214namespace detail {
215215template <int I>
You can’t perform that action at this time.
0 commit comments