StorageView
StorageView
Section titled “StorageView”#include <sbio/core/storage_view.hh>template<class StorageT, class EPolicy>class StorageViewDefined in src/lib/sbio/core/storage_view.hh:75
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
StorageView |
function |
Declared here |
StorageView |
function |
Declared here |
size |
function |
Declared here |
acquire |
function |
Declared here |
release |
function |
Declared here |
release |
function |
Declared here |
m_storage |
variable |
Declared here |
m_num_views |
variable |
Declared here |
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
SBIO_HD |
StorageView inline |
|
SBIO_HD |
StorageView inline |
|
SBIO_HD auto |
size const inline |
|
SBIO_HD auto |
acquire inline |
|
SBIO_HD void |
release inline |
|
SBIO_HD auto |
release inline requires hd_std::is_pointer_v<PtrT> |
StorageView
Section titled “StorageView”inline
inline SBIO_HD StorageView(StorageT & storage)Defined in src/lib/sbio/core/storage_view.hh:78
StorageView
Section titled “StorageView”inline
inline SBIO_HD StorageView(StorageT & storage, hd_std::atomic< hd_std::size_t > & num_views)Defined in src/lib/sbio/core/storage_view.hh:83
const inline
template<class Role, hd_std::size_t Index = 0> inline SBIO_HD auto size() constDefined in src/lib/sbio/core/storage_view.hh:90
acquire
Section titled “acquire”inline
template<class Role, hd_std::size_t Index = 0, class CallerMemTag> inline SBIO_HD auto acquire(AcquireIntent intent = AcquireIntent::BufferMemorySpace)Defined in src/lib/sbio/core/storage_view.hh:97
release
Section titled “release”inline
template<class Role, hd_std::size_t Index, class ViewT> inline SBIO_HD void release(ViewT view)Defined in src/lib/sbio/core/storage_view.hh:109
release
Section titled “release”inline requires hd_std::is_pointer_v<PtrT>
template<class Role, hd_std::size_t Index, class ViewT, typename PtrT> inline SBIO_HD auto release(ViewT view, PtrT offset_ptr) requires hd_std::is_pointer_v<PtrT>Defined in src/lib/sbio/core/storage_view.hh:119
Private Attributes
Section titled “Private Attributes”| Return | Name | Description |
|---|---|---|
StorageT & |
m_storage |
|
hd_std::atomic< hd_std::size_t > * |
m_num_views |
m_storage
Section titled “m_storage”StorageT & m_storageDefined in src/lib/sbio/core/storage_view.hh:142
m_num_views
Section titled “m_num_views”hd_std::atomic< hd_std::size_t > * m_num_views { nullptr }Defined in src/lib/sbio/core/storage_view.hh:145