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

Result of command enqueueing. More...

#include <detail/scheduler/commands.hpp>

Collaboration diagram for cl::sycl::detail::EnqueueResultT:

Public Types

enum  ResultT { SyclEnqueueReady, SyclEnqueueSuccess, SyclEnqueueBlocked, SyclEnqueueFailed }

Public Member Functions

 EnqueueResultT (ResultT Result=SyclEnqueueSuccess, Command *Cmd=nullptr, cl_int ErrCode=CL_SUCCESS)

Public Attributes

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

Detailed Description

Result of command enqueueing.

Definition at line 50 of file commands.hpp.

Member Enumeration Documentation

◆ ResultT


Definition at line 51 of file commands.hpp.

Constructor & Destructor Documentation

◆ EnqueueResultT()

cl::sycl::detail::EnqueueResultT::EnqueueResultT ( ResultT  Result = SyclEnqueueSuccess,
Command Cmd = nullptr,
cl_int  ErrCode = CL_SUCCESS 

Definition at line 57 of file commands.hpp.

Member Data Documentation

◆ MCmd

Command* cl::sycl::detail::EnqueueResultT::MCmd

Pointer to the command which failed to enqueue.

Definition at line 63 of file commands.hpp.

◆ MErrCode

cl_int cl::sycl::detail::EnqueueResultT::MErrCode

Error code which is set when enqueueing fails.

Definition at line 65 of file commands.hpp.

◆ MResult

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