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

Result of command enqueueing. More...

#include <detail/scheduler/commands.hpp>

Collaboration diagram for sycl::_V1::detail::EnqueueResultT:

Public Types

enum  ResultT { SyclEnqueueReady, SyclEnqueueSuccess, SyclEnqueueBlocked, SyclEnqueueFailed }
 

Public Member Functions

 EnqueueResultT (ResultT Result=SyclEnqueueSuccess, Command *Cmd=nullptr, pi_int32 ErrCode=PI_SUCCESS)
 

Public Attributes

ResultT MResult
 Indicates the result of enqueueing. More...
 
CommandMCmd
 Pointer to the command which failed to enqueue. More...
 
pi_int32 MErrCode
 Error code which is set when enqueueing fails. More...
 

Detailed Description

Result of command enqueueing.

Definition at line 54 of file commands.hpp.

Member Enumeration Documentation

◆ ResultT

Enumerator
SyclEnqueueReady 
SyclEnqueueSuccess 
SyclEnqueueBlocked 
SyclEnqueueFailed 

Definition at line 55 of file commands.hpp.

Constructor & Destructor Documentation

◆ EnqueueResultT()

sycl::_V1::detail::EnqueueResultT::EnqueueResultT ( ResultT  Result = SyclEnqueueSuccess,
Command Cmd = nullptr,
pi_int32  ErrCode = PI_SUCCESS 
)
inline

Definition at line 61 of file commands.hpp.

Member Data Documentation

◆ MCmd

Command* sycl::_V1::detail::EnqueueResultT::MCmd

Pointer to the command which failed to enqueue.

Definition at line 67 of file commands.hpp.

◆ MErrCode

pi_int32 sycl::_V1::detail::EnqueueResultT::MErrCode

Error code which is set when enqueueing fails.

Definition at line 69 of file commands.hpp.

◆ MResult


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