diff options
author | Jonny Svärd <jonny.svaerd@arm.com> | 2022-04-19 15:35:01 +0200 |
---|---|---|
committer | Jonny Svärd <jonny.svaerd@arm.com> | 2022-04-21 15:50:16 +0200 |
commit | 44b250be84b2e3bbd421fcc25134fe672eda4027 (patch) | |
tree | 2c8a19995cc48b85579b366db25e9822f437c4f4 /applications/driver_unit_tests/command_stream.hpp | |
parent | 65520055f422dac8d3c1a87314d98846a3bce3b5 (diff) | |
download | ethos-u-core-platform-44b250be84b2e3bbd421fcc25134fe672eda4027.tar.gz |
Add simple async API testing to driver_unit_tests
Change-Id: Iae5733efb40a8fd11e7108e93cc719f67b4f1be3
Diffstat (limited to 'applications/driver_unit_tests/command_stream.hpp')
-rw-r--r-- | applications/driver_unit_tests/command_stream.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/applications/driver_unit_tests/command_stream.hpp b/applications/driver_unit_tests/command_stream.hpp index 1783f4c..7163b9d 100644 --- a/applications/driver_unit_tests/command_stream.hpp +++ b/applications/driver_unit_tests/command_stream.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Arm Limited. All rights reserved. + * Copyright (c) 2021-2022 Arm Limited. * * SPDX-License-Identifier: Apache-2.0 * @@ -92,6 +92,8 @@ public: virtual ~CommandStream(); int run(size_t repeat = 1); + int run_async(); + int wait_async(bool block = true); DataPointer &getCommandStream(); BasePointers &getBasePointers(); |