aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/kernels/CpuMulKernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/kernels/CpuMulKernel.h')
-rw-r--r--src/cpu/kernels/CpuMulKernel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cpu/kernels/CpuMulKernel.h b/src/cpu/kernels/CpuMulKernel.h
index c92e1efdf4..73ffc0dd2b 100644
--- a/src/cpu/kernels/CpuMulKernel.h
+++ b/src/cpu/kernels/CpuMulKernel.h
@@ -81,6 +81,15 @@ public:
const char *name() const override;
size_t get_mws(const CPUInfo &platform, size_t thread_count) 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] mws Minimum workload size for requested configuration.
+ */
+ size_t get_mws(const CPUInfo &platform, size_t thread_count) const override;
+
/** Get the preferred dimension in which the scheduler splits the work into multiple jobs.
*
* @return The split dimension hint.