DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::DeviceGlobalMapEntry Struct Reference

#include <detail/device_global_map_entry.hpp>

Collaboration diagram for sycl::_V1::detail::DeviceGlobalMapEntry:

Public Member Functions

 DeviceGlobalMapEntry (std::string UniqueId, const void *DeviceGlobalPtr)
 
 DeviceGlobalMapEntry (std::string UniqueId, std::uint32_t DeviceGlobalTSize, bool IsDeviceImageScopeDecorated)
 
void initialize (const void *DeviceGlobalPtr)
 
void initialize (std::uint32_t DeviceGlobalTSize, bool IsDeviceImageScopeDecorated)
 
DeviceGlobalUSMMemgetOrAllocateDeviceGlobalUSM (const std::shared_ptr< queue_impl > &QueueImpl, bool ZeroInit=false)
 
void removeAssociatedResources (const context_impl *CtxImpl)
 

Public Attributes

std::string MUniqueId
 
const void * MDeviceGlobalPtr
 
std::uint32_t MDeviceGlobalTSize
 
bool MIsDeviceImageScopeDecorated
 

Detailed Description

Definition at line 45 of file device_global_map_entry.hpp.

Constructor & Destructor Documentation

◆ DeviceGlobalMapEntry() [1/2]

sycl::_V1::detail::DeviceGlobalMapEntry::DeviceGlobalMapEntry ( std::string  UniqueId,
const void *  DeviceGlobalPtr 
)
inline

Definition at line 57 of file device_global_map_entry.hpp.

◆ DeviceGlobalMapEntry() [2/2]

sycl::_V1::detail::DeviceGlobalMapEntry::DeviceGlobalMapEntry ( std::string  UniqueId,
std::uint32_t  DeviceGlobalTSize,
bool  IsDeviceImageScopeDecorated 
)
inline

Definition at line 63 of file device_global_map_entry.hpp.

Member Function Documentation

◆ getOrAllocateDeviceGlobalUSM()

DeviceGlobalUSMMem & sycl::_V1::detail::DeviceGlobalMapEntry::getOrAllocateDeviceGlobalUSM ( const std::shared_ptr< queue_impl > &  QueueImpl,
bool  ZeroInit = false 
)

◆ initialize() [1/2]

void sycl::_V1::detail::DeviceGlobalMapEntry::initialize ( const void *  DeviceGlobalPtr)
inline

Definition at line 70 of file device_global_map_entry.hpp.

◆ initialize() [2/2]

void sycl::_V1::detail::DeviceGlobalMapEntry::initialize ( std::uint32_t  DeviceGlobalTSize,
bool  IsDeviceImageScopeDecorated 
)
inline

Definition at line 79 of file device_global_map_entry.hpp.

◆ removeAssociatedResources()

Member Data Documentation

◆ MDeviceGlobalPtr

const void* sycl::_V1::detail::DeviceGlobalMapEntry::MDeviceGlobalPtr

Definition at line 49 of file device_global_map_entry.hpp.

◆ MDeviceGlobalTSize

std::uint32_t sycl::_V1::detail::DeviceGlobalMapEntry::MDeviceGlobalTSize

Definition at line 51 of file device_global_map_entry.hpp.

◆ MIsDeviceImageScopeDecorated

bool sycl::_V1::detail::DeviceGlobalMapEntry::MIsDeviceImageScopeDecorated

Definition at line 53 of file device_global_map_entry.hpp.

◆ MUniqueId

std::string sycl::_V1::detail::DeviceGlobalMapEntry::MUniqueId

Definition at line 47 of file device_global_map_entry.hpp.


The documentation for this struct was generated from the following files: