aboutsummaryrefslogtreecommitdiff
path: root/src/core/cpu/kernels/CpuFloorKernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu/kernels/CpuFloorKernel.h')
-rw-r--r--src/core/cpu/kernels/CpuFloorKernel.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/core/cpu/kernels/CpuFloorKernel.h b/src/core/cpu/kernels/CpuFloorKernel.h
index 2680871b45..78534d2a1d 100644
--- a/src/core/cpu/kernels/CpuFloorKernel.h
+++ b/src/core/cpu/kernels/CpuFloorKernel.h
@@ -45,10 +45,9 @@ public:
* @param[out] dst Destination tensor. Same as @p src
*/
void configure(const ITensorInfo *src, ITensorInfo *dst);
- /** Static function to check if given info will lead to a valid configuration of @ref CpuFloorKernel
+ /** Static function to check if given info will lead to a valid configuration
*
- * @param[in] src Source tensor info. Data type supported: F16/F32.
- * @param[in] dst Destination tensor info. Same as @p src
+ * Similar to CpuFloorKernel::configure()
*
* @return a status
*/
@@ -65,6 +64,13 @@ public:
// Inherited methods overridden:
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override;
const char *name() const override;
+
+private:
+ using FloorUKernelPtr = std::add_pointer<void(const void *, void *, int)>::type;
+
+private:
+ FloorUKernelPtr _run_method{ nullptr };
+ std::string _name{};
};
} // namespace kernels
} // namespace cpu