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

Memory Object Record. More...

#include <detail/scheduler/scheduler.hpp>

Collaboration diagram for cl::sycl::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 193 of file scheduler.hpp.

Constructor & Destructor Documentation

◆ MemObjRecord()

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

Definition at line 194 of file scheduler.hpp.

Member Data Documentation

◆ MAllocaCommands

◆ MCurContext

◆ MHostAccess

◆ MMemModified

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

◆ MReadLeaves

◆ MWriteLeaves

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