Result of command enqueueing. More...
#include <detail/scheduler/commands.hpp>
Public Types | |
enum | ResultT { SyclEnqueueReady , SyclEnqueueSuccess , SyclEnqueueBlocked , SyclEnqueueFailed } |
Public Member Functions | |
EnqueueResultT (ResultT Result=SyclEnqueueSuccess, Command *Cmd=nullptr, ur_result_t ErrCode=UR_RESULT_SUCCESS) | |
Public Attributes | |
ResultT | MResult |
Indicates the result of enqueueing. More... | |
Command * | MCmd |
Pointer to the command which failed to enqueue. More... | |
ur_result_t | MErrCode |
Error code which is set when enqueueing fails. More... | |
Result of command enqueueing.
Definition at line 64 of file commands.hpp.
Enumerator | |
---|---|
SyclEnqueueReady | |
SyclEnqueueSuccess | |
SyclEnqueueBlocked | |
SyclEnqueueFailed |
Definition at line 65 of file commands.hpp.
|
inline |
Definition at line 71 of file commands.hpp.
Command* sycl::_V1::detail::EnqueueResultT::MCmd |
Pointer to the command which failed to enqueue.
Definition at line 77 of file commands.hpp.
Referenced by sycl::_V1::detail::Scheduler::addCopyBack().
ur_result_t sycl::_V1::detail::EnqueueResultT::MErrCode |
Error code which is set when enqueueing fails.
Definition at line 79 of file commands.hpp.
ResultT sycl::_V1::detail::EnqueueResultT::MResult |
Indicates the result of enqueueing.
Definition at line 75 of file commands.hpp.
Referenced by sycl::_V1::detail::Scheduler::addCommandGraphUpdate(), sycl::_V1::detail::Scheduler::addCopyBack(), sycl::_V1::detail::Scheduler::addHostAccessor(), sycl::_V1::detail::Scheduler::enqueueCommandForCG(), sycl::_V1::detail::Scheduler::enqueueLeavesOfReqUnlocked(), sycl::_V1::detail::Scheduler::enqueueUnblockedCommands(), sycl::_V1::detail::Scheduler::GraphProcessor::waitForEvent(), and sycl::_V1::detail::Scheduler::waitForRecordToFinish().