diff options
author | Slava Shklyaev <slavash@google.com> | 2020-02-18 11:39:54 +0000 |
---|---|---|
committer | Slava Shklyaev <slavash@google.com> | 2020-02-18 13:31:57 +0000 |
commit | 6bf64d1d2637237226bb6b8914d483ae21fc4a34 (patch) | |
tree | 974e7d68757b38cf1867217e4f08a68984d6ec53 /nn/runtime/test/TestPartitioningRandom.cpp | |
parent | e46c85a8be206d14bb6e8338255e66a283dffdde (diff) | |
download | ml-6bf64d1d2637237226bb6b8914d483ae21fc4a34.tar.gz |
Add control flow performance reporting to sample drivers
Fix: 149715066
Test: VtsHalNeuralnetworksV1_3TargetTest --gtest_filter='*GetCapabilitiesTest*'
Change-Id: I50de6c4474b0bd7c9c1cd8b896991b85fa852d3c
Diffstat (limited to 'nn/runtime/test/TestPartitioningRandom.cpp')
-rw-r--r-- | nn/runtime/test/TestPartitioningRandom.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nn/runtime/test/TestPartitioningRandom.cpp b/nn/runtime/test/TestPartitioningRandom.cpp index 0d927647b..f7cde3a0f 100644 --- a/nn/runtime/test/TestPartitioningRandom.cpp +++ b/nn/runtime/test/TestPartitioningRandom.cpp @@ -530,7 +530,9 @@ class TestDriver : public SampleDriver { Capabilities capabilities = { .relaxedFloat32toFloat16PerformanceScalar = kPerf, .relaxedFloat32toFloat16PerformanceTensor = kPerf, - .operandPerformance = nn::nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf)}; + .operandPerformance = nn::nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf), + .ifPerformance = kPerf, + .whilePerformance = kPerf}; _hidl_cb(V1_3::ErrorStatus::NONE, capabilities); return Void(); } |