diff options
author | David Gross <dgross@google.com> | 2018-02-22 15:05:01 -0800 |
---|---|---|
committer | David Gross <dgross@google.com> | 2018-02-26 19:02:06 +0000 |
commit | 47b5916d2c4c5d0e0d4f6b43075a23449c16345b (patch) | |
tree | 3500b4811bd2a8085791c9f21f7cbf4ed5805098 /nn/runtime/Manager.cpp | |
parent | 53351aa6c659ad099924c29b6fd5c1a471f35e7d (diff) | |
download | ml-47b5916d2c4c5d0e0d4f6b43075a23449c16345b.tar.gz |
Add Capabilities::relaxedFloat32toFloat16Performance for 1.1.
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-all
Test: VtsHalNeuralnetworksV1_0TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/hvx
Test: VtsHalNeuralnetworksV1_1TargetTest --hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-all
Test: NeuralNetworksTest_static
Bug: 63911257
Change-Id: I157641995e239777a0d3e56af1cf090e7309f35f
Diffstat (limited to 'nn/runtime/Manager.cpp')
-rw-r--r-- | nn/runtime/Manager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nn/runtime/Manager.cpp b/nn/runtime/Manager.cpp index 8b629eb17..33b2429f3 100644 --- a/nn/runtime/Manager.cpp +++ b/nn/runtime/Manager.cpp @@ -52,8 +52,10 @@ bool Device::initialize() { } else { VLOG(MANAGER) << "Capab " << capabilities.float32Performance.execTime; VLOG(MANAGER) << "Capab " << capabilities.quantized8Performance.execTime; + VLOG(MANAGER) << "Capab " << capabilities.relaxedFloat32toFloat16Performance.execTime; mFloat32Performance = capabilities.float32Performance; mQuantized8Performance = capabilities.quantized8Performance; + mRelaxedFloat32toFloat16Performance = capabilities.relaxedFloat32toFloat16Performance; } return status == ErrorStatus::NONE; |