24.02.1
|
OpenCL queue implementation class. More...
#include <ClQueue.h>
Public Member Functions | |
ClQueue (IContext *ctx, const AclQueueOptions *options) | |
Construct a new CpuQueue object. More... | |
arm_compute::CLScheduler & | scheduler () |
Return legacy scheduler. More... | |
::cl::CommandQueue | cl_queue () |
Underlying cl command queue accessor. More... | |
bool | set_cl_queue (::cl::CommandQueue queue) |
Update/inject an underlying cl command queue object. 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} |
ClQueue | ( | IContext * | ctx, |
const AclQueueOptions * | options | ||
) |
Construct a new CpuQueue object.
[in] | ctx | Context to be used |
[in] | options | Command queue options |
Definition at line 71 of file ClQueue.cpp.
cl::CommandQueue cl_queue | ( | ) |
Underlying cl command queue accessor.
Definition at line 81 of file ClQueue.cpp.
References CLScheduler::get(), and CLScheduler::queue().
|
overridevirtual |
Implements IQueue.
Definition at line 93 of file ClQueue.cpp.
References CLScheduler::get(), CLScheduler::queue(), and arm_compute::Success.
arm_compute::CLScheduler & scheduler | ( | ) |
Return legacy scheduler.
Definition at line 76 of file ClQueue.cpp.
References CLScheduler::get().
bool set_cl_queue | ( | ::cl::CommandQueue | queue | ) |
Update/inject an underlying cl command queue object.
[in] | queue | Underlying cl command queue to be used |
Definition at line 86 of file ClQueue.cpp.
References CLScheduler::get(), and CLScheduler::set_queue().