diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2022-12-01 10:40:26 +0000 |
---|---|---|
committer | Cathal Corbett <cathal.corbett@arm.com> | 2022-12-14 14:58:35 +0000 |
commit | 404369b13f6e603bba3f01f945672bd89104bab7 (patch) | |
tree | 6a6aa859b76ce026154680dee2b4d84a7e3740d2 /src/backends/backendsCommon/test/BackendProfilingTests.cpp | |
parent | 939abf50fbfbabe834cddb5333e1204f4680d484 (diff) | |
download | armnn-404369b13f6e603bba3f01f945672bd89104bab7.tar.gz |
Fix bug in EthosNAcc backend detection in unit test
Test was checking a freshly constructed BackendRegistry, rather
than the single instance.
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: I7c64cf089cb406ac4e5ceefedb17163f39801b07
Diffstat (limited to 'src/backends/backendsCommon/test/BackendProfilingTests.cpp')
-rw-r--r-- | src/backends/backendsCommon/test/BackendProfilingTests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backends/backendsCommon/test/BackendProfilingTests.cpp b/src/backends/backendsCommon/test/BackendProfilingTests.cpp index 916a5864ad..d49fa7f2ec 100644 --- a/src/backends/backendsCommon/test/BackendProfilingTests.cpp +++ b/src/backends/backendsCommon/test/BackendProfilingTests.cpp @@ -169,7 +169,7 @@ TEST_CASE("BackendProfilingCounterRegisterMockBackendTest") unsigned int shiftedId = 0; - if (armnn::BackendRegistry().IsBackendRegistered("EthosNAcc")) + if (armnn::BackendRegistryInstance().IsBackendRegistered("EthosNAcc")) { shiftedId = 4; } |