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

Dependency between two commands. More...

#include <detail/scheduler/commands.hpp>

Collaboration diagram for cl::sycl::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...


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

Detailed Description

Dependency between two commands.

Definition at line 69 of file commands.hpp.

Constructor & Destructor Documentation

◆ DepDesc()

cl::sycl::detail::DepDesc::DepDesc ( Command DepCommand,
const Requirement Req,
AllocaCommandBase AllocaCmd 

Definition at line 70 of file commands.hpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const DepDesc Lhs,
const DepDesc Rhs 

Definition at line 74 of file commands.hpp.

Member Data Documentation

◆ MAllocaCmd

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

Allocation command for the memory object we have requirement for.

Used to simplify searching for memory handle.

Definition at line 85 of file commands.hpp.

Referenced by cl::sycl::detail::Scheduler::GraphBuilder::cleanupCommand(), and cl::sycl::detail::Scheduler::GraphBuilder::cleanupFinishedCommands().

◆ MDepCommand

◆ MDepRequirement

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

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