Compute Library
 22.05
CpuQueue Class Referencefinal

CPU queue implementation class. More...

#include <CpuQueue.h>

Collaboration diagram for CpuQueue:
[legend]

Public Member Functions

 CpuQueue (IContext *ctx, const AclQueueOptions *options)
 Construct a new CpuQueue object. More...
 
arm_compute::ISchedulerscheduler ()
 Return legacy scheduler. More...
 
StatusCode finish () override
 
- Public Member Functions inherited from IQueue
 IQueue (IContext *ctx)
 Explict Operator Constructor. More...
 
virtual ~IQueue ()
 Destructor. More...
 
bool is_valid () const
 Checks if a queue is valid. More...
 

Additional Inherited Members

- Data Fields inherited from AclQueue_
arm_compute::detail::Header header { arm_compute::detail::ObjectType::Queue, nullptr }
 

Detailed Description

CPU queue implementation class.

Definition at line 36 of file CpuQueue.h.

Constructor & Destructor Documentation

◆ CpuQueue()

CpuQueue ( IContext ctx,
const AclQueueOptions options 
)

Construct a new CpuQueue object.

Parameters
[in]ctxContext to be used
[in]optionsCommand queue options

Definition at line 32 of file CpuQueue.cpp.

References ARM_COMPUTE_UNUSED.

33  : IQueue(ctx)
34 {
35  ARM_COMPUTE_UNUSED(options);
36 }
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
Definition: Error.h:152
IQueue(IContext *ctx)
Explict Operator Constructor.
Definition: IQueue.h:48

Member Function Documentation

◆ finish()

StatusCode finish ( )
overridevirtual

Implements IQueue.

Definition at line 43 of file CpuQueue.cpp.

References arm_compute::Success.

◆ scheduler()

arm_compute::IScheduler & scheduler ( )

Return legacy scheduler.

Returns
arm_compute::IScheduler&

Definition at line 38 of file CpuQueue.cpp.

References Scheduler::get().

39 {
41 }
static IScheduler & get()
Access the scheduler singleton.
Definition: Scheduler.cpp:94

The documentation for this class was generated from the following files: