aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/kernels/CpuReshapeKernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/kernels/CpuReshapeKernel.h')
-rw-r--r--src/cpu/kernels/CpuReshapeKernel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpu/kernels/CpuReshapeKernel.h b/src/cpu/kernels/CpuReshapeKernel.h
index 9fe4350445..d4e2b44b54 100644
--- a/src/cpu/kernels/CpuReshapeKernel.h
+++ b/src/cpu/kernels/CpuReshapeKernel.h
@@ -57,6 +57,15 @@ public:
// Inherited methods overridden:
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override;
const char *name() const override;
+
+ /** Return minimum workload size of the relevant kernel
+ *
+ * @param[in] platform The CPU platform used to create the context.
+ * @param[in] thread_count Number of threads in the execution.
+ *
+ * @return[out] small_network_mws Minimum workload size for requsted configuration.
+ */
+ size_t get_mws(const CPUInfo &platform, size_t thread_count) const override;
};
} // namespace kernels
} // namespace cpu