aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/test/BackendRegistryTests.cpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-11-05 13:40:33 +0000
committerMatthew Bentham <matthew.bentham@arm.com>2018-11-05 17:26:57 +0000
commit9efb57d62197aeb7d868c289bb34166c132f0287 (patch)
tree047fe9ac08ad90145d4e2d5bf1c6acc24eaad16c /src/backends/backendsCommon/test/BackendRegistryTests.cpp
parent9c6f3afdf7686d9804fd5bc04ea68fca4c49a0a8 (diff)
downloadarmnn-9efb57d62197aeb7d868c289bb34166c132f0287.tar.gz
Revert "IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackend"
This reverts commit d4dfa684941a21314b70593d01b0fc2167eebad4. Change-Id: Id61ce69215505c3cf5d30ec2a7ec9127fb2554fc
Diffstat (limited to 'src/backends/backendsCommon/test/BackendRegistryTests.cpp')
-rw-r--r--src/backends/backendsCommon/test/BackendRegistryTests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backends/backendsCommon/test/BackendRegistryTests.cpp b/src/backends/backendsCommon/test/BackendRegistryTests.cpp
index 4afe273de4..0bc655be09 100644
--- a/src/backends/backendsCommon/test/BackendRegistryTests.cpp
+++ b/src/backends/backendsCommon/test/BackendRegistryTests.cpp
@@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(TestRegistryHelper)
StaticRegistryInitializer<BackendRegistry> factoryHelper(
BackendRegistryInstance(),
"HelloWorld",
- [&called](const EmptyInitializer&)
+ [&called]()
{
called = true;
return armnn::IBackendInternalUniquePtr(nullptr);
@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(TestRegistryHelper)
// sanity check: the factory still not called
BOOST_TEST(called == false);
- factoryFunction(EmptyInitializer());
+ factoryFunction();
BOOST_TEST(called == true);
}
@@ -81,7 +81,7 @@ BOOST_AUTO_TEST_CASE(TestDirectCallToRegistry)
bool called = false;
BackendRegistryInstance().Register(
"HelloWorld",
- [&called](const EmptyInitializer&)
+ [&called]()
{
called = true;
return armnn::IBackendInternalUniquePtr(nullptr);
@@ -96,7 +96,7 @@ BOOST_AUTO_TEST_CASE(TestDirectCallToRegistry)
// sanity check: the factory still not called
BOOST_TEST(called == false);
- factoryFunction(EmptyInitializer());
+ factoryFunction();
BOOST_TEST(called == true);
}