#include <detail/device_global_map_entry.hpp>
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) |
DeviceGlobalUSMMem & | getOrAllocateDeviceGlobalUSM (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< KernelSetId > | MKSIds |
std::uint32_t | MDeviceGlobalTSize = 0 |
bool | MIsDeviceImageScopeDecorated = false |
Definition at line 49 of file device_global_map_entry.hpp.
|
inline |
Definition at line 66 of file device_global_map_entry.hpp.
|
inline |
Definition at line 71 of file device_global_map_entry.hpp.
DeviceGlobalUSMMem & sycl::_V1::detail::DeviceGlobalMapEntry::getOrAllocateDeviceGlobalUSM | ( | const std::shared_ptr< queue_impl > & | QueueImpl | ) |
Definition at line 45 of file device_global_map_entry.cpp.
References sycl::_V1::detail::usm::alignedAllocInternal().
Referenced by sycl::_V1::detail::memcpyFromDeviceGlobalUSM(), and sycl::_V1::detail::memcpyToDeviceGlobalUSM().
|
inline |
Definition at line 79 of file device_global_map_entry.hpp.
|
inline |
Definition at line 88 of file device_global_map_entry.hpp.
void sycl::_V1::detail::DeviceGlobalMapEntry::removeAssociatedResources | ( | const context_impl * | CtxImpl | ) |
Definition at line 83 of file device_global_map_entry.cpp.
References sycl::_V1::detail::usm::freeInternal(), sycl::_V1::detail::context_impl::getDevices(), sycl::_V1::detail::context_impl::getPlugin(), sycl::_V1::detail::getSyclObjImpl(), and piEventRelease().
Referenced by sycl::_V1::detail::context_impl::~context_impl().
const void* sycl::_V1::detail::DeviceGlobalMapEntry::MDeviceGlobalPtr = nullptr |
Definition at line 53 of file device_global_map_entry.hpp.
std::uint32_t sycl::_V1::detail::DeviceGlobalMapEntry::MDeviceGlobalTSize = 0 |
Definition at line 60 of file device_global_map_entry.hpp.
Referenced by sycl::_V1::detail::MemoryManager::copy_from_device_global(), and sycl::_V1::detail::MemoryManager::copy_to_device_global().
std::set<std::uintptr_t> sycl::_V1::detail::DeviceGlobalMapEntry::MImageIdentifiers |
Definition at line 56 of file device_global_map_entry.hpp.
Referenced by sycl::_V1::detail::context_impl::getProgramForDeviceGlobal(), and sycl::_V1::detail::isDeviceGlobalUsedInKernel().
bool sycl::_V1::detail::DeviceGlobalMapEntry::MIsDeviceImageScopeDecorated = false |
Definition at line 62 of file device_global_map_entry.hpp.
Referenced by sycl::_V1::detail::MemoryManager::copy_from_device_global(), sycl::_V1::detail::MemoryManager::copy_to_device_global(), and sycl::_V1::detail::getOrBuildProgramForDeviceGlobal().
std::set<KernelSetId> sycl::_V1::detail::DeviceGlobalMapEntry::MKSIds |
Definition at line 58 of file device_global_map_entry.hpp.
Referenced by sycl::_V1::detail::getOrBuildProgramForDeviceGlobal().
std::string sycl::_V1::detail::DeviceGlobalMapEntry::MUniqueId |
Definition at line 51 of file device_global_map_entry.hpp.
Referenced by sycl::_V1::detail::memcpyFromDeviceGlobalDirect(), and sycl::_V1::detail::memcpyToDeviceGlobalDirect().