| 178 | } |
| 179 | |
| 180 | inline void *aligned_alloc_host(std::size_t alignment, std::size_t num_bytes, |
| 181 | const context &ctx, |
| 182 | const property_list &propList = {}) { |
| 183 | rt::allocation_hints hints = create_hints_from_proplist(propList); |
| 184 | return rt::allocate_host(detail::select_usm_allocator(ctx), alignment, |
| 185 | num_bytes, hints); |
| 186 | } |
| 187 | |
| 188 | template <typename T> |
| 189 | T *aligned_alloc_host(std::size_t alignment, size_t count, const context &ctx, |
no test coverage detected