summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorXusong Wang <xusongw@google.com>2019-02-25 16:58:58 -0800
committerXusong Wang <xusongw@google.com>2019-03-21 14:17:08 -0700
commitb61ba1ed0ba850db7ef8f3a42c58bbc250488d52 (patch)
tree7e058b51108c35eb5ef1fd68011d0fbe0c709163 /identity/support/src/cppbor_parse.cpp
parentb6ab74810a0d0fe1b45ddf3659abe467c7e89364 (diff)
Fix caching interface according to vendor feedback.
- Instead of isCachingSupport returning a single boolean, switch to getNumberOfCacheFilesNeeded returning the number of cache files. This is to support use cases when driver needs more than one cache file for each type, or when driver does not need data cache. - Instead of a separate saveToCache, pass cache info along with prepareModel_1_2 to save into cache as well as perform compilation. This is to avoid a potential additional copy of cache files. Bug: 123780248 Test: VtsHalNeuralnetworksV1_xTargetTest with 1.2 sample driver Test: VtsHalNeuralnetworksV1_xTargetTest with a test driver that can read and write cache entries Change-Id: I921b7b8ccc3c66af19f6589f7213c6870d6f07bf
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions