aboutsummaryrefslogtreecommitdiff
path: root/src/core/GPUTarget.cpp
diff options
context:
space:
mode:
authorPablo Marquez Tello <pablo.tello@arm.com>2021-06-25 14:49:37 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-06-28 11:50:48 +0000
commitb1496e6a1074c90fba64633ec92fa202f5f7d1d8 (patch)
treec00bdde29a6b2ab58016c5aff6ee23fe6adae123 /src/core/GPUTarget.cpp
parentd7316eb877cc4ff8573219374335e917b19a0203 (diff)
downloadComputeLibrary-b1496e6a1074c90fba64633ec92fa202f5f7d1d8.tar.gz
Add code to detect Mali(TM) G31
* Fixed a problem which made the library choose the Valhall path instead of Bifrost * Set block sizes to 4 for u8 on G31 * Resolves MLCE-463 Change-Id: I577f57ec96f740db15d6640e34172318a82c5778 Signed-off-by: Pablo Marquez Tello <pablo.tello@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5858 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core/GPUTarget.cpp')
-rw-r--r--src/core/GPUTarget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/GPUTarget.cpp b/src/core/GPUTarget.cpp
index 14264cb883..b4bd2ddf40 100644
--- a/src/core/GPUTarget.cpp
+++ b/src/core/GPUTarget.cpp
@@ -83,6 +83,10 @@ arm_compute::GPUTarget get_bifrost_target(const std::string &version)
{
return arm_compute::GPUTarget::G76;
}
+ else if(version.find("G31") != std::string::npos)
+ {
+ return arm_compute::GPUTarget::G31;
+ }
else
{
return arm_compute::GPUTarget::UNKNOWN;