diff options
author | Colm Donelan <colm.donelan@arm.com> | 2024-05-14 10:26:46 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2024-05-14 10:26:46 +0100 |
commit | 1358e04de341c4e50c8afcf4227990cce88b7526 (patch) | |
tree | d8ccf2e0122e5c0113c18c9cd15c7c13e905c5b8 /samples/AsyncExecutionSample.cpp | |
parent | 46dee40e2f3c73cdbbcd55954edf64b7d6dc9444 (diff) | |
download | armnn-1358e04de341c4e50c8afcf4227990cce88b7526.tar.gz |
IVGCVSW-8388 Adding missing deprecate flags to sample apps.
The sample apps were not included in the original set of files updates
to account for 24.08 deprecation notices. This cause a nightly failure.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: Ic96cd3cde383f9f0fd9d1a825b99408f8e17f082
Diffstat (limited to 'samples/AsyncExecutionSample.cpp')
-rw-r--r-- | samples/AsyncExecutionSample.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/AsyncExecutionSample.cpp b/samples/AsyncExecutionSample.cpp index a789aade01..4647c3af75 100644 --- a/samples/AsyncExecutionSample.cpp +++ b/samples/AsyncExecutionSample.cpp @@ -120,8 +120,10 @@ int main() // Lambda function to execute the network. We use it as thread function. auto execute = [&](unsigned int executionIndex) { +ARMNN_NO_DEPRECATE_WARN_BEGIN auto memHandle = run->CreateWorkingMemHandle(networkIdentifier); run->Execute(*memHandle, inputTensors[executionIndex], outputTensors[executionIndex]); +ARMNN_NO_DEPRECATE_WARN_END }; // Prepare some threads and let each execute the network with a different input |