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::uintptr_t ImgId, KernelSetId KSId, std::uint32_t DeviceGlobalTSize, bool IsDeviceImageScopeDecorated)
 
void initialize (const void *DeviceGlobalPtr)
 
void initialize (std::uintptr_t ImgId, KernelSetId KSId, 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::set< std::uintptr_t > MImageIdentifiers
 
std::set< KernelSetIdMKSIds
 
std::uint32_t MDeviceGlobalTSize = 0
 
bool MIsDeviceImageScopeDecorated = false
 

Detailed Description

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

◆ DeviceGlobalMapEntry() [2/2]

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

Definition at line 71 of file device_global_map_entry.hpp.

Member Function Documentation

◆ getOrAllocateDeviceGlobalUSM()

DeviceGlobalUSMMem & sycl::_V1::detail::DeviceGlobalMapEntry::getOrAllocateDeviceGlobalUSM ( const std::shared_ptr< queue_impl > &  QueueImpl)

◆ initialize() [1/2]

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

Definition at line 79 of file device_global_map_entry.hpp.

◆ initialize() [2/2]

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

Definition at line 88 of file device_global_map_entry.hpp.

◆ removeAssociatedResources()

Member Data Documentation

◆ MDeviceGlobalPtr

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

Definition at line 53 of file device_global_map_entry.hpp.

◆ MDeviceGlobalTSize

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

◆ MImageIdentifiers

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

◆ MIsDeviceImageScopeDecorated

bool sycl::_V1::detail::DeviceGlobalMapEntry::MIsDeviceImageScopeDecorated = false

◆ MKSIds

std::set<KernelSetId> sycl::_V1::detail::DeviceGlobalMapEntry::MKSIds

◆ MUniqueId

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

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