24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_ICPPKERNEL_H
25 #define ARM_COMPUTE_ICPPKERNEL_H
60 ARM_COMPUTE_ERROR(
"default implementation of legacy run() virtual member function invoked");
111 virtual const char *
name()
const = 0;
#define ARM_COMPUTE_ERROR(msg)
Print the given message then throw an std::runtime_error.
virtual ~ICPPKernel()=default
Default destructor.
virtual void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info)
Execute the kernel on the passed window.
Common information for all the kernels.
virtual void run(const Window &window, const ThreadInfo &info)
Execute the kernel on the passed window.
Common interface for all kernels implemented in C++.
virtual void run_nd(const Window &window, const ThreadInfo &info, const Window &thread_locator)
legacy compatibility layer for implemantions which do not support thread_locator In these cases we si...
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
virtual size_t get_mws(const CPUInfo &platform, size_t thread_count) const
Return minimum workload size of the relevant kernel.
virtual const char * name() const =0
Name of the kernel.
static constexpr size_t default_mws