Skip to content

Commit

Permalink
Updating usage of HasCapability to use HasMatchingCapability.
Browse files Browse the repository at this point in the history
!armnn:10034

Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I2a0e7effe1db65545c186e0dd0a0969c9c8efe9c
  • Loading branch information
Colm-in-Arm committed Aug 2, 2023
1 parent a92b3f3 commit 2c37fb7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArmnnDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ ArmnnDevice::ArmnnDevice(DriverOptions options)
else
{
if (m_Options.isAsyncModelExecutionEnabled() &&
armnn::HasCapability(armnn::BackendOptions::BackendOption{"AsyncExecution", false}, backend))
armnn::HasMatchingCapability(armnn::BackendOptions::BackendOption{"AsyncExecution", false},
backend))
{
ALOGV("ArmnnDevice: ArmNN does not support AsyncExecution with the following backend: %s",
backend.Get().c_str());
Expand Down

0 comments on commit 2c37fb7

Please sign in to comment.