From 4ffc42afafc8e6eee9917ac27b4bc510973335bf Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 1 Dec 2020 16:28:24 +0000 Subject: Add support for G78 instance Resolves:COMPMID-4034 Signed-off-by: Georgios Pinitas Change-Id: I6f18705c6060cab41db9168c03f1f4bb87393057 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4632 Tested-by: Arm Jenkins Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins --- src/core/GPUTarget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/GPUTarget.cpp') diff --git a/src/core/GPUTarget.cpp b/src/core/GPUTarget.cpp index 7e4ef2ff50..c1346b1fcc 100644 --- a/src/core/GPUTarget.cpp +++ b/src/core/GPUTarget.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2019 Arm Limited. + * Copyright (c) 2018-2020 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -35,9 +35,9 @@ arm_compute::GPUTarget get_valhall_target(const std::string &version) { return arm_compute::GPUTarget::G77; } - else if(version.find("TBOX") != std::string::npos) + if(version.find("G78") != std::string::npos) { - return arm_compute::GPUTarget::TBOX; + return arm_compute::GPUTarget::G78; } else if(version.find("TODX") != std::string::npos) { @@ -131,7 +131,7 @@ const std::string &string_from_target(GPUTarget target) { GPUTarget::G52LIT, "g52lit" }, { GPUTarget::G76, "g76" }, { GPUTarget::G77, "g77" }, - { GPUTarget::TBOX, "tbox" }, + { GPUTarget::G78, "g78" }, { GPUTarget::TODX, "todx" } }; -- cgit v1.2.1