commit | c4d98007fd2ff50031b270801274ee4c498afd87 | [log] [tgz] |
---|---|---|
author | Michael Butler <butlermichael@google.com> | Tue Feb 09 15:36:11 2021 -0800 |
committer | Michael Butler <butlermichael@google.com> | Wed Feb 17 22:54:37 2021 -0800 |
tree | ef924b4bfd92fbe86c5f43c2a6d4c6aca155030a | |
parent | d3edbcb5902fc097dc3da119f82ca4045acf1f1a [diff] |
Make NNAPI countNumberOfConsumers return GeneralResult -- hal Previously, countNumberOfConsumers would trigger a CHECK if the input was invalid. This CL makes countNumberOfConsumers gracefully fail on errors, instead returning the error through the GeneralResult. Bug: N/A Test: mma Change-Id: Iee54f87768e52fdf701c22d94083c053b881733d