diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2023-01-03 16:43:02 +0000 |
---|---|---|
committer | Nikhil Raj Arm <nikhil.raj@arm.com> | 2023-01-04 14:22:09 +0000 |
commit | 9d1786ee149821ec39fc0db0eba015f1c090f0ce (patch) | |
tree | bf8d4ffc7e901378d9a95f3b045676465eb69ba6 /src/backends/backendsCommon/test/BackendProfilingTests.cpp | |
parent | 13e4e9447ed9ca6d50e899bbbc3226416f5778f3 (diff) | |
download | armnn-9d1786ee149821ec39fc0db0eba015f1c090f0ce.tar.gz |
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 <nikhil.raj@arm.com>
Change-Id: I2b1f861fdfef2b6025dfdcc0725b00c82fac13a8
Diffstat (limited to 'src/backends/backendsCommon/test/BackendProfilingTests.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/BackendProfilingTests.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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(); |