diff options
author | David Monahan <david.monahan@arm.com> | 2020-08-31 15:50:32 +0100 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2020-08-31 16:36:08 +0100 |
commit | 82609564981ca40d0fc86d2bb4b8ee62648a41c6 (patch) | |
tree | 0a07578335a3f5a789ce6f6cafbeb991daeafd42 /test/DriverTestHelpers.cpp | |
parent | 5ccbdf1ac82013c8cb1c607252f72b6858e97a53 (diff) | |
download | android-nn-driver-82609564981ca40d0fc86d2bb4b8ee62648a41c6.tar.gz |
IVGCVSW-4917 Adding Unit test to Android-nn-driver for Hal1.3 Qos
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ie45464f2b04c8f2bb30ca06ff91b96492f2466b0
Diffstat (limited to 'test/DriverTestHelpers.cpp')
-rw-r--r-- | test/DriverTestHelpers.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/DriverTestHelpers.cpp b/test/DriverTestHelpers.cpp index c6d44065..8e8d7bef 100644 --- a/test/DriverTestHelpers.cpp +++ b/test/DriverTestHelpers.cpp @@ -198,7 +198,8 @@ android::sp<V1_2::IPreparedModel> PrepareModelWithStatus_1_2(const armnn_driver: android::sp<V1_3::IPreparedModel> PrepareModelWithStatus_1_3(const armnn_driver::hal_1_3::HalPolicy::Model& model, armnn_driver::ArmnnDriver& driver, - V1_3::ErrorStatus& prepareStatus) + V1_3::ErrorStatus& prepareStatus, + V1_3::Priority priority) { android::sp<PreparedModelCallback_1_3> cb(new PreparedModelCallback_1_3()); @@ -208,7 +209,7 @@ android::sp<V1_3::IPreparedModel> PrepareModelWithStatus_1_3(const armnn_driver: driver.prepareModel_1_3(model, V1_1::ExecutionPreference::LOW_POWER, - V1_3::Priority::LOW, + priority, {}, emptyHandle1, emptyHandle2, |