@@ -108,9 +108,10 @@ class __SYCL_EXPORT buffer_impl final : public SYCLMemObjT {
108
108
: BaseT(SizeInBytes, Props, std::move(Allocator)) {
109
109
110
110
if (Props.has_property <sycl::property::buffer::use_host_ptr>())
111
- throw sycl::invalid_object_error (" Buffer constructor from a pair of iterator "
112
- " values cannot have the use_host_ptr property." ,
113
- PI_INVALID_OPERATION);
111
+ throw sycl::invalid_object_error (
112
+ " Buffer constructor from a pair of iterator values cannot have the "
113
+ " use_host_ptr property." ,
114
+ PI_INVALID_OPERATION);
114
115
115
116
BaseT::handleHostData (First, Last, RequiredAlign);
116
117
}
@@ -127,9 +128,10 @@ class __SYCL_EXPORT buffer_impl final : public SYCLMemObjT {
127
128
: BaseT(SizeInBytes, Props, std::move(Allocator)) {
128
129
129
130
if (Props.has_property <sycl::property::buffer::use_host_ptr>())
130
- throw sycl::invalid_object_error (" Buffer constructor from a pair of iterator "
131
- " values cannot have the use_host_ptr property." ,
132
- PI_INVALID_OPERATION);
131
+ throw sycl::invalid_object_error (
132
+ " Buffer constructor from a pair of iterator values cannot have the "
133
+ " use_host_ptr property." ,
134
+ PI_INVALID_OPERATION);
133
135
134
136
BaseT::handleHostData (First, Last, RequiredAlign);
135
137
}
0 commit comments