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...
 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 62 of file commands.hpp.

Member Enumeration Documentation

◆ ResultT


Definition at line 63 of file commands.hpp.

Constructor & Destructor Documentation

◆ EnqueueResultT()

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

Definition at line 69 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 75 of file commands.hpp.

◆ MErrCode

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

Error code which is set when enqueueing fails.

Definition at line 77 of file commands.hpp.

◆ MResult

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