aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/LayerSupport.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/armnn/LayerSupport.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/armnn/LayerSupport.cpp')
-rw-r--r--src/armnn/LayerSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/LayerSupport.cpp b/src/armnn/LayerSupport.cpp
index e3009e26fd..fb3ce43646 100644
--- a/src/armnn/LayerSupport.cpp
+++ b/src/armnn/LayerSupport.cpp
@@ -39,7 +39,7 @@ void CopyErrorMessage(char* truncatedString, const char* fullString, size_t maxL
bool isSupported; \
try { \
auto factoryFunc = LayerSupportRegistryInstance().GetFactory(backendId); \
- auto layerSupportObject = factoryFunc(EmptyInitializer()); \
+ auto layerSupportObject = factoryFunc(); \
isSupported = layerSupportObject->func(__VA_ARGS__, Optional<std::string&>(reasonIfUnsupportedFull)); \
CopyErrorMessage(reasonIfUnsupported, reasonIfUnsupportedFull.c_str(), reasonIfUnsupportedMaxLength); \
} catch (InvalidArgumentException e) { \