23.08
|
Go to the documentation of this file.
44 auto k = std::make_unique<CLRangeKernel>();
46 k->configure(compile_context, output, start,
end,
step);
47 _kernel = std::move(
k);
Interface for OpenCL tensor.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
static Status validate(const ITensorInfo *output, float start, float end, float step=1.f)
Static function to check if given info will lead to a valid configuration of CLRange.
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
void configure(ICLTensor *output, float start, float end, float step=1.f)
Initialize the kernel's start, end, step and output tensor.
void tune_kernel_static(ICLKernel &kernel)
Tunes OpenCL kernel.
static CLScheduler & get()
Access the scheduler singleton.
Copyright (c) 2017-2023 Arm Limited.
void end(TokenStream &in, bool &valid)
Store the tensor's metadata.
static Status validate(const ITensorInfo *output, float start, float end, float step)
Static function to check if given info will lead to a valid configuration of CLRangeKernel.
#define ARM_COMPUTE_LOG_PARAMS(...)