From 9d1786ee149821ec39fc0db0eba015f1c090f0ce Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 3 Jan 2023 16:43:02 +0000 Subject: Fix Npu main build issue * This fixes the build failure happening in nightly job running Arm NN and EthosN main branches Signed-off-by: Nikhil Raj Change-Id: I2b1f861fdfef2b6025dfdcc0725b00c82fac13a8 --- src/backends/backendsCommon/test/BackendProfilingTests.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/backends/backendsCommon/test') diff --git a/src/backends/backendsCommon/test/BackendProfilingTests.cpp b/src/backends/backendsCommon/test/BackendProfilingTests.cpp index d49fa7f2ec..9041b55c57 100644 --- a/src/backends/backendsCommon/test/BackendProfilingTests.cpp +++ b/src/backends/backendsCommon/test/BackendProfilingTests.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2020 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2020, 2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -169,11 +169,6 @@ TEST_CASE("BackendProfilingCounterRegisterMockBackendTest") unsigned int shiftedId = 0; - if (armnn::BackendRegistryInstance().IsBackendRegistered("EthosNAcc")) - { - shiftedId = 4; - } - // Check if the MockBackends 3 dummy counters {0, 1, 2-5 (four cores)} are registered armnn::BackendId mockId = armnn::MockBackendId(); const ICounterMappings& counterMap = GetProfilingService(&runtime).GetCounterMappings(); -- cgit v1.2.1