summaryrefslogtreecommitdiff
path: root/neuralnetworks/1.1/utils/test/DeviceTest.cpp
diff options
context:
space:
mode:
authorMichael Butler <butlermichael@google.com>2020-12-29 18:56:44 -0800
committerMichael Butler <butlermichael@google.com>2021-01-06 04:54:21 +0000
commit667dc2dcacba5341a79ac520ce712d2ce4cae1cc (patch)
treeee79cb6c5cf9e1df9d58d670ab36012a61aacda5 /neuralnetworks/1.1/utils/test/DeviceTest.cpp
parent1fd4b9d0705ca95d58ba7a5bb359fef9228dbcd2 (diff)
Add recovery code to NN ResilientPreparedModel and *Buffer
Prior to this CL, ResilientPreparedModel and ResilientBuffer were passthrough interfaces that just forwarded calls to the underlying interface object. This CL implements the full recovery mechanism for these two classes. However, because we do not want to enable this functionality in the NN runtime yet, ResilientDevice hides the paths that create ResilientPreparedModel and ResilientBuffer behind an #if until we want to enable those paths. Bug: N/A Test: mma Change-Id: Idfe8093c63c7ba2f16c995eec872d150696e7a08
Diffstat (limited to 'neuralnetworks/1.1/utils/test/DeviceTest.cpp')
0 files changed, 0 insertions, 0 deletions