DPC++ Runtime
Runtime libraries for oneAPI DPC++
usm.hpp File Reference
#include <sycl/builtins.hpp>
#include <sycl/context.hpp>
#include <sycl/detail/common.hpp>
#include <sycl/detail/export.hpp>
#include <sycl/device.hpp>
#include <sycl/property_list.hpp>
#include <sycl/queue.hpp>
#include <sycl/usm/usm_enums.hpp>
#include <algorithm>
#include <cstddef>
Include dependency graph for usm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sycl
 
 sycl::_V1
 
 sycl::_V1::ext
 
 sycl::_V1::ext::oneapi
 
 sycl::_V1::ext::oneapi::experimental
 

Functions

void * sycl::_V1::malloc_device (size_t size, const device &dev, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_device (size_t size, const device &dev, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_device (size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_device (size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_device (size_t alignment, size_t size, const device &dev, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_device (size_t alignment, size_t size, const device &dev, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_device (size_t alignment, size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_device (size_t alignment, size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void sycl::_V1::free (void *ptr, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void sycl::_V1::free (void *ptr, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_host (size_t size, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_host (size_t size, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_host (size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_host (size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_shared (size_t size, const device &dev, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_shared (size_t size, const device &dev, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_shared (size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc_shared (size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_host (size_t alignment, size_t size, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_host (size_t alignment, size_t size, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_host (size_t alignment, size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_host (size_t alignment, size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_shared (size_t alignment, size_t size, const device &dev, const context &ctxt, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_shared (size_t alignment, size_t size, const device &dev, const context &ctxt, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_shared (size_t alignment, size_t size, const queue &q, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc_shared (size_t alignment, size_t size, const queue &q, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc (size_t size, const device &dev, const context &ctxt, usm::alloc kind, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc (size_t size, const device &dev, const context &ctxt, usm::alloc kind, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc (size_t size, const queue &q, usm::alloc kind, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::malloc (size_t size, const queue &q, usm::alloc kind, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc (size_t alignment, size_t size, const device &dev, const context &ctxt, usm::alloc kind, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc (size_t alignment, size_t size, const device &dev, const context &ctxt, usm::alloc kind, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc (size_t alignment, size_t size, const queue &q, usm::alloc kind, const detail::code_location &CodeLoc=detail::code_location::current())
 
void * sycl::_V1::aligned_alloc (size_t alignment, size_t size, const queue &q, usm::alloc kind, const property_list &propList, const detail::code_location &CodeLoc=detail::code_location::current())
 
size_t sycl::_V1::is_not_power_of_two (size_t Alignment)
 
void sycl::_V1::ext::oneapi::experimental::prepare_for_device_copy (const void *Ptr, size_t Size, const context &Context)
 
void sycl::_V1::ext::oneapi::experimental::prepare_for_device_copy (const void *Ptr, size_t Size, const queue &Queue)
 
void sycl::_V1::ext::oneapi::experimental::release_from_device_copy (const void *Ptr, const context &Context)
 
void sycl::_V1::ext::oneapi::experimental::release_from_device_copy (const void *Ptr, const queue &Queue)