summaryrefslogtreecommitdiff
path: root/nn/runtime/test/TestGenerated.cpp
diff options
context:
space:
mode:
authorDavid Gross <dgross@google.com>2017-09-14 04:20:25 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-09-14 04:20:25 +0000
commit39dcb0f2cc87b0eba06b314a91d55e50efea5abe (patch)
treee62c76b9f55a20f03fa87e9ba045c7b4ffc02044 /nn/runtime/test/TestGenerated.cpp
parent60e87405eb0832fccc8a9854f4efff273fca27ed (diff)
parent425b2594c76e934dfdbc93209253e3c189571149 (diff)
downloadml-39dcb0f2cc87b0eba06b314a91d55e50efea5abe.tar.gz
Merge changes I5922f13a,I7194e277 into oc-mr1-dev
* changes: Bring back Event, and wait on Event rather than on Execution. Make Compilation API synchronous.
Diffstat (limited to 'nn/runtime/test/TestGenerated.cpp')
-rw-r--r--nn/runtime/test/TestGenerated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nn/runtime/test/TestGenerated.cpp b/nn/runtime/test/TestGenerated.cpp
index 5c41a616b..075f53960 100644
--- a/nn/runtime/test/TestGenerated.cpp
+++ b/nn/runtime/test/TestGenerated.cpp
@@ -48,7 +48,7 @@ class Example {
bool error = false;
for (auto& example : examples) {
Compilation compilation(&model);
- compilation.compile();
+ compilation.finish();
Execution execution(&compilation);
// Go through all inputs
@@ -109,7 +109,7 @@ class Example {
MixedTyped& golden = example.second;
Compilation compilation(&model);
- compilation.compile();
+ compilation.finish();
Execution execution(&compilation);
// Go through all ty-typed inputs