Handle pointer-based data in sample::PrepareModel::execute*
Prior to this change, the sample canonical PrepareModel execute and
executeFenced methods did not properly handle pointer-based data,
instead expecting pool-based data. This CL properly handles the cases of
pointer-based data.
This CL also regenerates the sample Support Library binaries with the
new changes.
Bug: 230345580
Test: mma
Test: adb shell NeuralNetworksSupportLibraryTest
neuralnetworks_sample_sl_driver_prebuilt.so
Change-Id: I94d83c4c59e90ff4abda9f87d55098aa15bc5eac
Merged-In: I94d83c4c59e90ff4abda9f87d55098aa15bc5eac
(cherry picked from commit 10e3e011ee93fe9809e703c9cb6f9bba115ba12d)
5 files changed