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

Memory Object Record. More...

#include <detail/scheduler/scheduler.hpp>

Collaboration diagram for sycl::_V1::detail::MemObjRecord:

Public Member Functions

 MemObjRecord (ContextImplPtr Ctx, std::size_t LeafLimit, LeavesCollection::AllocateDependencyF AllocateDependency)

Public Attributes

std::vector< AllocaCommandBase * > MAllocaCommands
LeavesCollection MReadLeaves
LeavesCollection MWriteLeaves
ContextImplPtr MCurContext
access::mode MHostAccess = access::mode::read_write
bool MMemModified = false

Detailed Description

Memory Object Record.

The MemObjRecord is used in command groups (todo better desc). There must be a single MemObjRecord for each SYCL memory object.

Definition at line 198 of file scheduler.hpp.

Constructor & Destructor Documentation

◆ MemObjRecord()

sycl::_V1::detail::MemObjRecord::MemObjRecord ( ContextImplPtr  Ctx,
std::size_t  LeafLimit,
LeavesCollection::AllocateDependencyF  AllocateDependency 

Definition at line 199 of file scheduler.hpp.

Member Data Documentation

◆ MAllocaCommands

◆ MCurContext

ContextImplPtr sycl::_V1::detail::MemObjRecord::MCurContext

◆ MHostAccess

access::mode sycl::_V1::detail::MemObjRecord::MHostAccess = access::mode::read_write

◆ MMemModified

bool sycl::_V1::detail::MemObjRecord::MMemModified = false

◆ MReadLeaves

◆ MWriteLeaves

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