diff options
author | David Mansell <David.Mansell@arm.com> | 2018-07-06 17:53:35 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:10 +0000 |
commit | e39334c15c7fd141bb8173d5017ea5ca157fca2c (patch) | |
tree | fffa2f7b136525037c4d99586bc194374e5bd3dc /arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h | |
parent | e8bd2c729546e59aa0adc241976ea91fc6f25b52 (diff) | |
download | ComputeLibrary-e39334c15c7fd141bb8173d5017ea5ca157fca2c.tar.gz |
COMPMID-1271: New system for GEMM heuristics
This patch implements a system for separating the "validity" from
"preferred" aspect of the current heuristics in gemm_*.cpp.
Now, each gemm_*.cpp defines a list of candidate implementations,
each of which supplies an is_valid() function (to check for
validity), an is_preferred() function (the "heuristic" part), and an
instantiate() function which actually produces the GemmCommon object
pointer.
The actual gemm() function is now templated and uses this list to
select an implementation. This patch also implements a mechanism to
identify the preferred implementation, and override it via the
GemmConfig structure.
Change-Id: Id49ab7af8bf2e3e9fd951a9698883ade234d40e1
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/139120
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/functions/CLGEMMLowpOutputStage.h')
0 files changed, 0 insertions, 0 deletions