@@ -174,7 +174,7 @@ T *aligned_alloc_device(
174
174
size_t Alignment, size_t Count, const device &Dev, const context &Ctxt,
175
175
const property_list &PropList = {},
176
176
const detail::code_location CodeLoc = detail::code_location::current()) {
177
- return static_cast <T *>(aligned_alloc_device (std:: max (Alignment, alignof (T)),
177
+ return static_cast <T *>(aligned_alloc_device (max (Alignment, alignof (T)),
178
178
Count * sizeof (T), Dev, Ctxt,
179
179
PropList, CodeLoc));
180
180
}
@@ -244,7 +244,7 @@ T *aligned_alloc_shared(
244
244
size_t Alignment, size_t Count, const device &Dev, const context &Ctxt,
245
245
const property_list &PropList = {},
246
246
const detail::code_location CodeLoc = detail::code_location::current()) {
247
- return static_cast <T *>(aligned_alloc_shared (std:: max (Alignment, alignof (T)),
247
+ return static_cast <T *>(aligned_alloc_shared (max (Alignment, alignof (T)),
248
248
Count * sizeof (T), Dev, Ctxt,
249
249
PropList, CodeLoc));
250
250
}
@@ -281,7 +281,7 @@ T *aligned_alloc(
281
281
size_t Alignment, size_t Count, const device &Dev, const context &Ctxt,
282
282
usm::alloc Kind, const property_list &PropList = {},
283
283
const detail::code_location CodeLoc = detail::code_location::current()) {
284
- return static_cast <T *>(aligned_alloc (std:: max (Alignment, alignof (T)),
284
+ return static_cast <T *>(aligned_alloc (max (Alignment, alignof (T)),
285
285
Count * sizeof (T), Dev, Ctxt, Kind,
286
286
PropList, CodeLoc));
287
287
}
0 commit comments