From 7026b303d636e7639f8877ae8d5eff54f39c1121 Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 26 Jun 2019 17:18:11 +0100 Subject: COMPMID-1979: Fuse Activation Function in CLGEMM - part 1 Implementing a new struct to contains the information for the OpenCL GEMM kernels Change-Id: I6c641c312f9c3b025a7c69dd0df3b730d2d2c2cb Signed-off-by: Gian Marco Iodice Reviewed-on: https://review.mlplatform.org/c/1434 Tested-by: Arm Jenkins Reviewed-by: Giuseppe Rossini --- arm_compute/core/KernelDescriptors.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'arm_compute/core/KernelDescriptors.h') diff --git a/arm_compute/core/KernelDescriptors.h b/arm_compute/core/KernelDescriptors.h index 83131f4296..fe59365d06 100644 --- a/arm_compute/core/KernelDescriptors.h +++ b/arm_compute/core/KernelDescriptors.h @@ -48,5 +48,16 @@ struct FFTRadixStageKernelInfo unsigned int Nx{ 0 }; /**< Nx coefficient. */ bool is_first_stage{ false }; /**< Flags if the FFT kernels is the first stage of a decomposed FFT. */ }; + +/** Descriptor used by the GEMM kernels */ +struct GEMMKernelInfo +{ + unsigned int m{ 0 }; + unsigned int n{ 0 }; + unsigned int k{ 0 }; + unsigned int depth_output_gemm3d{ 0 }; + bool reinterpret_input_as_3d{ false }; + bool broadcast_bias{ false }; +}; } // namespace arm_compute #endif /* __ARM_COMPUTE_CORE_KERNEL_DESCRIPTORS_H__ */ -- cgit v1.2.1