diff options
author | Kevin May <kevin.may@arm.com> | 2023-11-03 12:06:04 +0000 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2023-11-03 12:11:05 +0000 |
commit | 0425a370a9846d3409cd890371055cd28fb4b22f (patch) | |
tree | 577eee0ae8bb486b33e6aad452573ee583df1fda /delegate | |
parent | 0d8bfa6cc2a44137d753f0f3e3bb7b0259dde937 (diff) | |
download | armnn-0425a370a9846d3409cd890371055cd28fb4b22f.tar.gz |
IVGCVSW-8117 Add log message to Delegate stating backends added
* This helps debug when running the DTS
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I623001529e8b56f654e0d93cbb96d3f5b38a7882
Diffstat (limited to 'delegate')
-rw-r--r-- | delegate/classic/src/armnn_delegate.cpp | 2 | ||||
-rw-r--r-- | delegate/opaque/src/armnn_delegate.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/delegate/classic/src/armnn_delegate.cpp b/delegate/classic/src/armnn_delegate.cpp index 9861a11bfe..57488fc3de 100644 --- a/delegate/classic/src/armnn_delegate.cpp +++ b/delegate/classic/src/armnn_delegate.cpp @@ -162,6 +162,8 @@ Delegate::Delegate(armnnDelegate::DelegateOptions options) else { backends.push_back(backend); + TFLITE_LOG_PROD(tflite::TFLITE_LOG_INFO, + "TfLiteArmnnDelegate: Added backend %s", backend.Get().c_str()); } } } diff --git a/delegate/opaque/src/armnn_delegate.cpp b/delegate/opaque/src/armnn_delegate.cpp index 2340e4910e..33a07f244d 100644 --- a/delegate/opaque/src/armnn_delegate.cpp +++ b/delegate/opaque/src/armnn_delegate.cpp @@ -152,6 +152,8 @@ ArmnnOpaqueDelegate::ArmnnOpaqueDelegate(armnnDelegate::DelegateOptions options) else { backends.push_back(backend); + TFLITE_LOG_PROD(tflite::TFLITE_LOG_INFO, + "TfLiteArmnnOpaqueDelegate: Added backend %s", backend.Get().c_str()); } } } |