DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::physical_mem_impl Class Reference

#include <detail/physical_mem_impl.hpp>

Public Member Functions

 physical_mem_impl (const device &SyclDevice, const context &SyclContext, size_t NumBytes)
 
 ~physical_mem_impl () noexcept(false)
 
void * map (uintptr_t Ptr, size_t NumBytes, ext::oneapi::experimental::address_access_mode Mode, size_t Offset) const
 
context get_context () const
 
device get_device () const
 
size_t size () const noexcept
 
ur_physical_mem_handle_t & getHandleRef ()
 
const ur_physical_mem_handle_t & getHandleRef () const
 

Detailed Description

Definition at line 38 of file physical_mem_impl.hpp.

Constructor & Destructor Documentation

◆ physical_mem_impl()

sycl::_V1::detail::physical_mem_impl::physical_mem_impl ( const device SyclDevice,
const context SyclContext,
size_t  NumBytes 
)
inline

◆ ~physical_mem_impl()

sycl::_V1::detail::physical_mem_impl::~physical_mem_impl ( )
inlinenoexcept

Definition at line 57 of file physical_mem_impl.hpp.

Member Function Documentation

◆ get_context()

context sycl::_V1::detail::physical_mem_impl::get_context ( ) const
inline

Definition at line 73 of file physical_mem_impl.hpp.

◆ get_device()

device sycl::_V1::detail::physical_mem_impl::get_device ( ) const
inline

Definition at line 76 of file physical_mem_impl.hpp.

◆ getHandleRef() [1/2]

ur_physical_mem_handle_t& sycl::_V1::detail::physical_mem_impl::getHandleRef ( )
inline

Definition at line 79 of file physical_mem_impl.hpp.

◆ getHandleRef() [2/2]

const ur_physical_mem_handle_t& sycl::_V1::detail::physical_mem_impl::getHandleRef ( ) const
inline

Definition at line 80 of file physical_mem_impl.hpp.

◆ map()

void* sycl::_V1::detail::physical_mem_impl::map ( uintptr_t  Ptr,
size_t  NumBytes,
ext::oneapi::experimental::address_access_mode  Mode,
size_t  Offset 
) const
inline

◆ size()

size_t sycl::_V1::detail::physical_mem_impl::size ( ) const
inlinenoexcept

Definition at line 77 of file physical_mem_impl.hpp.


The documentation for this class was generated from the following file: