summaryrefslogtreecommitdiff
path: root/neuralnetworks/utils/common/test/ResilientDeviceTest.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-08 12:07:20 -0800
commit418c749746e264c334fc826b60a019b81518649b (patch)
treed45b23dcf9c167bc39951d031284bcbd05b10747 /neuralnetworks/utils/common/test/ResilientDeviceTest.cpp
parente0a858b1d58729c1e802b366312b962b8d8b101b (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 Merged-In: Idfe8093c63c7ba2f16c995eec872d150696e7a08 (cherry picked from commit 667dc2dcacba5341a79ac520ce712d2ce4cae1cc)
Diffstat (limited to 'neuralnetworks/utils/common/test/ResilientDeviceTest.cpp')
0 files changed, 0 insertions, 0 deletions