diff options
author | SiCong Li <sicong.li@arm.com> | 2020-12-02 14:54:34 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-12-03 23:17:44 +0000 |
commit | a085a0c91c5b3061e616fa810d81be5798b240d8 (patch) | |
tree | b7f880f948969ff1383f671f36ca17f4d38f32fe /src/runtime/CL/gemm/CLGEMMKernelSelection.h | |
parent | cd22cbfd02a4fcb49cb40622372a13b865db80ee (diff) | |
download | ComputeLibrary-a085a0c91c5b3061e616fa810d81be5798b240d8.tar.gz |
Rename the files and classes required by the OpenCL GEMM heuristic
All existing kernel type selection heuristics
CLGEMMKernelSelection<Architecture> are renamed to
CLGEMMDefaultType<Architecture>
All existing kernel configuration heuristics
CLGEMM<KernelType>KernelConfiguration<Architecture> are renamed to
CLGEMMDefaultConfig<KernelType><Architecture>
This refactoring is required to make room for tuner-based heuristics
Resolves COMPMID-3842
Change-Id: I2c9f1029ad67f1e2808c79871698fc4486d45306
Signed-off-by: SiCong Li <sicong.li@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4639
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL/gemm/CLGEMMKernelSelection.h')
-rw-r--r-- | src/runtime/CL/gemm/CLGEMMKernelSelection.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/runtime/CL/gemm/CLGEMMKernelSelection.h b/src/runtime/CL/gemm/CLGEMMKernelSelection.h index 69f8349d27..6189a324cf 100644 --- a/src/runtime/CL/gemm/CLGEMMKernelSelection.h +++ b/src/runtime/CL/gemm/CLGEMMKernelSelection.h @@ -25,9 +25,9 @@ #define SRC_CLGEMMKERNELSELECTION_H #include "arm_compute/runtime/CL/ICLGEMMKernelSelection.h" -#include "src/runtime/CL/gemm/CLGEMMKernelSelectionBifrost.h" -#include "src/runtime/CL/gemm/CLGEMMKernelSelectionMidgard.h" -#include "src/runtime/CL/gemm/CLGEMMKernelSelectionValhall.h" +#include "src/runtime/CL/gemm/CLGEMMDefaultTypeBifrost.h" +#include "src/runtime/CL/gemm/CLGEMMDefaultTypeMidgard.h" +#include "src/runtime/CL/gemm/CLGEMMDefaultTypeValhall.h" namespace arm_compute { @@ -48,11 +48,11 @@ public: switch(get_arch_from_target(gpu)) { case GPUTarget::MIDGARD: - return std::make_unique<CLGEMMKernelSelectionMidgard>(gpu); + return std::make_unique<CLGEMMDefaultTypeMidgard>(gpu); case GPUTarget::BIFROST: - return std::make_unique<CLGEMMKernelSelectionBifrost>(gpu); + return std::make_unique<CLGEMMDefaultTypeBifrost>(gpu); case GPUTarget::VALHALL: - return std::make_unique<CLGEMMKernelSelectionValhall>(gpu); + return std::make_unique<CLGEMMDefaultTypeValhall>(gpu); default: ARM_COMPUTE_ERROR("Not supported GPU target"); } |