Dependency between two commands. More...
#include <detail/scheduler/commands.hpp>
Public Member Functions | |
DepDesc (Command *DepCommand, const Requirement *Req, AllocaCommandBase *AllocaCmd) | |
Public Attributes | |
Command * | MDepCommand = nullptr |
The actual dependency command. More... | |
const Requirement * | MDepRequirement = nullptr |
Requirement for the dependency. More... | |
AllocaCommandBase * | MAllocaCmd = nullptr |
Allocation command for the memory object we have requirement for. More... | |
Friends | |
bool | operator< (const DepDesc &Lhs, const DepDesc &Rhs) |
Dependency between two commands.
Definition at line 73 of file commands.hpp.
|
inline |
Definition at line 74 of file commands.hpp.
Definition at line 78 of file commands.hpp.
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 89 of file commands.hpp.
Referenced by sycl::_V1::detail::Scheduler::GraphBuilder::cleanupCommand().
Command* sycl::_V1::detail::DepDesc::MDepCommand = nullptr |
The actual dependency command.
Definition at line 84 of file commands.hpp.
Referenced by sycl::_V1::detail::Command::addDep(), sycl::_V1::detail::Scheduler::GraphBuilder::cleanupCommand(), sycl::_V1::detail::Scheduler::GraphBuilder::cleanupCommandsForRecord(), sycl::_V1::detail::Scheduler::GraphBuilder::connectDepEvent(), and sycl::_V1::detail::Scheduler::GraphBuilder::getOrInsertMemObjRecord().
const Requirement* sycl::_V1::detail::DepDesc::MDepRequirement = nullptr |
Requirement for the dependency.
Definition at line 86 of file commands.hpp.
Referenced by sycl::_V1::detail::Command::addDep(), sycl::_V1::detail::Scheduler::GraphBuilder::connectDepEvent(), and sycl::_V1::detail::Scheduler::GraphBuilder::findDepForRecord().