DPC++ Runtime
Runtime libraries for oneAPI DPC++
usm_impl.hpp
Go to the documentation of this file.
1 //==------------------ usm_impl.hpp - USM API Utils -------------*- C++-*---==//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #pragma once
10 
11 #include <sycl/usm.hpp>
12 
13 namespace sycl {
14 inline namespace _V1 {
15 namespace detail {
16 namespace usm {
17 
18 void *alignedAllocInternal(size_t Alignment, size_t Size,
19  const context_impl *CtxImpl,
20  const device_impl *DevImpl, sycl::usm::alloc Kind,
21  const property_list &PropList = {});
22 
23 void freeInternal(void *Ptr, const context_impl *CtxImpl);
24 
25 } // namespace usm
26 } // namespace detail
27 } // namespace _V1
28 } // namespace sycl
void freeInternal(void *Ptr, const context_impl *CtxImpl)
Definition: usm_impl.cpp:284
void * alignedAllocInternal(size_t Alignment, size_t Size, const context_impl *CtxImpl, const device_impl *DevImpl, alloc Kind, const property_list &PropList)
Definition: usm_impl.cpp:139
Definition: access.hpp:18