From a3cf241de1f68f90ebfefe0c7e3d6e7c67c36915 Mon Sep 17 00:00:00 2001 From: SiCong Li Date: Fri, 1 Jul 2022 15:01:10 +0100 Subject: Add G57 to GPUTarget Relates to: COMPMID-5299 Signed-off-by: SiCong Li Change-Id: I19f820f698cf11020da019f4a1334cccb1e40c7e Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7880 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- src/core/GPUTarget.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/core/GPUTarget.cpp') diff --git a/src/core/GPUTarget.cpp b/src/core/GPUTarget.cpp index 625c0145df..5984c88099 100644 --- a/src/core/GPUTarget.cpp +++ b/src/core/GPUTarget.cpp @@ -43,6 +43,10 @@ arm_compute::GPUTarget get_valhall_target(const std::string &version) { return arm_compute::GPUTarget::G710; } + else if(version.find("G57") != std::string::npos) + { + return arm_compute::GPUTarget::G57; + } else { return arm_compute::GPUTarget::UNKNOWN; @@ -136,7 +140,8 @@ const std::string &string_from_target(GPUTarget target) { GPUTarget::G76, "g76" }, { GPUTarget::G77, "g77" }, { GPUTarget::G78, "g78" }, - { GPUTarget::G710, "g710" } + { GPUTarget::G710, "g710" }, + { GPUTarget::G57, "g57" } }; return gpu_target_map[target]; -- cgit v1.2.1