arm_compute v19.08
diff --git a/examples/graph_inception_v4.cpp b/examples/graph_inception_v4.cpp
index 3ea2b2f..a7f57ec 100644
--- a/examples/graph_inception_v4.cpp
+++ b/examples/graph_inception_v4.cpp
@@ -154,8 +154,21 @@
config.tuner_mode = common_params.tuner_mode;
config.tuner_file = common_params.tuner_file;
+ // Load the precompiled kernels from a file into the kernel library, in this way the next time they are needed
+ // compilation won't be required.
+ if(common_params.enable_cl_cache)
+ {
+ restore_program_cache_from_file();
+ }
+
graph.finalize(common_params.target, config);
+ // Save the opencl kernels to a file
+ if(common_opts.enable_cl_cache)
+ {
+ save_program_cache_to_file();
+ }
+
return true;
}