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, RTDeviceBinaryImage *Img, std::uint32_t DeviceGlobalTSize, bool IsDeviceImageScopeDecorated)
 
void initialize (const void *DeviceGlobalPtr)
 
void initialize (RTDeviceBinaryImage *Img, std::uint32_t DeviceGlobalTSize, bool IsDeviceImageScopeDecorated)
 
DeviceGlobalUSMMemgetOrAllocateDeviceGlobalUSM (const std::shared_ptr< queue_impl > &QueueImpl)
 
void removeAssociatedResources (const context_impl *CtxImpl)
 

Public Attributes

std::string MUniqueId
 
const void * MDeviceGlobalPtr = nullptr
 
std::unordered_set< RTDeviceBinaryImage * > MImages
 
std::set< std::uintptr_t > MImageIdentifiers
 
std::uint32_t MDeviceGlobalTSize = 0
 
bool MIsDeviceImageScopeDecorated = false
 

Detailed Description

Definition at line 52 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 69 of file device_global_map_entry.hpp.

◆ DeviceGlobalMapEntry() [2/2]

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

Definition at line 74 of file device_global_map_entry.hpp.

Member Function Documentation

◆ getOrAllocateDeviceGlobalUSM()

◆ initialize() [1/2]

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

Definition at line 83 of file device_global_map_entry.hpp.

References MDeviceGlobalPtr.

◆ initialize() [2/2]

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

◆ removeAssociatedResources()

Member Data Documentation

◆ MDeviceGlobalPtr

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

Definition at line 56 of file device_global_map_entry.hpp.

Referenced by getOrAllocateDeviceGlobalUSM(), and initialize().

◆ MDeviceGlobalTSize

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

◆ MImageIdentifiers

std::set<std::uintptr_t> sycl::_V1::detail::DeviceGlobalMapEntry::MImageIdentifiers

◆ MImages

std::unordered_set<RTDeviceBinaryImage *> sycl::_V1::detail::DeviceGlobalMapEntry::MImages

◆ MIsDeviceImageScopeDecorated

◆ MUniqueId

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

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