commit | 34e249686923a0299a041fb6af10e56fc9fb76cd | [log] [tgz] |
---|---|---|
author | Kristofer Jonsson <kristofer.jonsson@arm.com> | Mon Nov 23 16:22:10 2020 +0100 |
committer | Kristofer Jonsson <kristofer.jonsson@arm.com> | Wed Nov 25 15:36:20 2020 +0100 |
tree | 14083b0245c981efa00ffc1041b8721e17b96198 | |
parent | 2cbaaa9150c3a3c4cff4e15cbe5b7116a133a523 [diff] [blame] |
Improved cache maintenance Invalidating and cleaning buffers exchanged between Core and remote CPU. Change-Id: Icd9ce6c916422a6bbcdd42e31651a622240d0ce4
diff --git a/applications/inference_process/include/inference_process.hpp b/applications/inference_process/include/inference_process.hpp index 53b9331..ec682d1 100644 --- a/applications/inference_process/include/inference_process.hpp +++ b/applications/inference_process/include/inference_process.hpp
@@ -29,6 +29,9 @@ size_t size; DataPtr(void *data = nullptr, size_t size = 0); + + void invalidate(); + void clean(); }; struct InferenceJob { @@ -46,6 +49,9 @@ const std::vector<DataPtr> &output, const std::vector<DataPtr> &expectedOutput, size_t numBytesToPrint); + + void invalidate(); + void clean(); }; class InferenceProcess {