23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_GEMM_H
25 #define ARM_COMPUTE_CL_GEMM_H
127 std::unique_ptr<kernels::ClGemmReshapeLhsMatrixKernel> _reshape_lhs_kernel;
128 std::unique_ptr<kernels::ClGemmReshapeRhsMatrixKernel> _reshape_rhs_kernel;
129 std::unique_ptr<kernels::ClGemmMatrixMultiplyNativeKernel> _mm_native_kernel;
130 std::unique_ptr<kernels::ClGemmMatrixMultiplyReshapedKernel> _mm_reshaped_kernel;
131 std::unique_ptr<kernels::ClGemmMatrixMultiplyReshapedOnlyRhsKernel> _mm_reshaped_only_rhs_kernel;
132 std::unique_ptr<kernels::ClGemmMatrixMultiplyReshapedOnlyRhsMMULKernel> _mm_reshaped_only_rhs_mmul_kernel;
135 bool _reshape_b_only_on_first_run;
std::vector< MemoryInfo > MemoryRequirements
experimental::MemoryRequirements workspace() const override
Return the memory requirements required by the workspace.
void configure(const CLCompileContext &compile_context, ITensorInfo *a, ITensorInfo *b, ITensorInfo *c, ITensorInfo *output, float alpha, float beta, const GEMMInfo &gemm_info)
Initialise the kernel's inputs and output.
CLGEMMKernelType
OpenCL GEMM kernel types.
Basic interface for functions which have a single async CL kernel.
Basic function to execute GEMM on OpenCL.
Store the tensor's metadata.
Copyright (c) 2017-2023 Arm Limited.
void prepare(ITensorPack &constants) override
Prepare the function for executing.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
Store the tensor's metadata.
static Status validate(const ITensorInfo *a, const ITensorInfo *b, const ITensorInfo *c, const ITensorInfo *output, float alpha, float beta, const GEMMInfo &gemm_info)
Static function to check if given info will lead to a valid configuration.