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

Dependency between two commands. More...

#include <detail/scheduler/commands.hpp>

Collaboration diagram for sycl::_V1::detail::DepDesc:

Public Member Functions

 DepDesc (Command *DepCommand, const Requirement *Req, AllocaCommandBase *AllocaCmd)
 

Public Attributes

CommandMDepCommand = nullptr
 The actual dependency command. More...
 
const RequirementMDepRequirement = nullptr
 Requirement for the dependency. More...
 
AllocaCommandBaseMAllocaCmd = nullptr
 Allocation command for the memory object we have requirement for. More...
 

Friends

bool operator< (const DepDesc &Lhs, const DepDesc &Rhs)
 

Detailed Description

Dependency between two commands.

Definition at line 81 of file commands.hpp.

Constructor & Destructor Documentation

◆ DepDesc()

sycl::_V1::detail::DepDesc::DepDesc ( Command DepCommand,
const Requirement Req,
AllocaCommandBase AllocaCmd 
)
inline

Definition at line 82 of file commands.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const DepDesc Lhs,
const DepDesc Rhs 
)
friend

Definition at line 86 of file commands.hpp.

Member Data Documentation

◆ MAllocaCmd

AllocaCommandBase* sycl::_V1::detail::DepDesc::MAllocaCmd = nullptr

Allocation command for the memory object we have requirement for.

Used to simplify searching for memory handle.

Definition at line 97 of file commands.hpp.

Referenced by sycl::_V1::detail::Scheduler::GraphBuilder::cleanupCommand().

◆ MDepCommand

◆ MDepRequirement

const Requirement* sycl::_V1::detail::DepDesc::MDepRequirement = nullptr

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