aboutsummaryrefslogtreecommitdiff
path: root/src/core/GPUTarget.cpp
diff options
context:
space:
mode:
authorGunes Bayir <gunes.bayir@arm.com>2021-12-10 16:17:56 +0000
committerGunes Bayir <gunes.bayir@arm.com>2022-07-13 14:47:44 +0000
commit4bfc70e31766587c951204c93a127a486e007d0c (patch)
tree198b2150c43b14c571c100b8dfa0d3aaa4c968d0 /src/core/GPUTarget.cpp
parent29cab36ddd73c174bf6b2de453663aa49c1cc576 (diff)
downloadComputeLibrary-4bfc70e31766587c951204c93a127a486e007d0c.tar.gz
Add Gemm MMUL Reshaped Only Rhs Support for FP32/FP16
This patch introduces a GEMM routine that is optimized for Arm(R) Mali(TM)-G715 and Arm(R) Mali(TM)-G615 Resolves: COMPMID-5216 Signed-off-by: Gunes Bayir <gunes.bayir@arm.com> Change-Id: I2e5d7806f5904347185bb3e250f73d73d6669dba Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7914 Reviewed-by: SiCong Li <sicong.li@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/GPUTarget.cpp')
-rw-r--r--src/core/GPUTarget.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/core/GPUTarget.cpp b/src/core/GPUTarget.cpp
index 5984c88099..e74abf6e7e 100644
--- a/src/core/GPUTarget.cpp
+++ b/src/core/GPUTarget.cpp
@@ -47,6 +47,14 @@ arm_compute::GPUTarget get_valhall_target(const std::string &version)
{
return arm_compute::GPUTarget::G57;
}
+ else if(version.find("G715") != std::string::npos)
+ {
+ return arm_compute::GPUTarget::G715;
+ }
+ else if(version.find("G615") != std::string::npos)
+ {
+ return arm_compute::GPUTarget::G615;
+ }
else
{
return arm_compute::GPUTarget::UNKNOWN;
@@ -141,7 +149,9 @@ const std::string &string_from_target(GPUTarget target)
{ GPUTarget::G77, "g77" },
{ GPUTarget::G78, "g78" },
{ GPUTarget::G710, "g710" },
- { GPUTarget::G57, "g57" }
+ { GPUTarget::G57, "g57" },
+ { GPUTarget::G715, "g715" },
+ { GPUTarget::G615, "g615" }
};
return gpu_target_map[target];