31 namespace experimental
34 : _kernel(), _ctx(ctx), _workspace()
static CLScheduler & get()
Access the scheduler singleton.
bool empty() const
Checks if pack is empty.
#define ARM_COMPUTE_ERROR(msg)
Print the given message then throw an std::runtime_error.
ICLOperator(IRuntimeContext *ctx=nullptr)
Constructor.
MemoryRequirements workspace() const override
Return the memory requirements required by the workspace.
Copyright (c) 2017-2021 Arm Limited.
std::vector< MemoryInfo > MemoryRequirements
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
void prepare(ITensorPack &constants) override
Prepare the function for executing.
void enqueue_op(ICLKernel &kernel, ITensorPack &tensors, bool flush=true)
Schedule the execution of the passed kernel if possible.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.