Home
last modified time | relevance | path

Searched refs:executor (Results 1 – 14 of 14) sorted by relevance

/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp67 sp<PreparedModel> adaptPreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, in adaptPreparedModel() argument
72 return sp<PreparedModel>::make(std::move(preparedModel), std::move(executor), userId); in adaptPreparedModel()
111 void notify(CallbackType* callback, PrepareModelResult result, Executor executor, uid_t userId) { in notify() argument
119 adaptPreparedModel(std::move(preparedModel), std::move(executor), userId); in notify()
131 nn::GeneralResult<void> prepareModel(const nn::SharedDevice& device, const Executor& executor, in prepareModel() argument
141 Task task = [device, nnModel = std::move(nnModel), userId, executor, callback] { in prepareModel()
144 notify(callback.get(), std::move(result), executor, userId); in prepareModel()
146 executor(std::move(task), userId, {}); in prepareModel()
151 nn::GeneralResult<void> prepareModel_1_1(const nn::SharedDevice& device, const Executor& executor, in prepareModel_1_1() argument
163 Task task = [device, nnModel = std::move(nnModel), nnPreference, userId, executor, callback] { in prepareModel_1_1()
[all …]
DAdapter.cpp35 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor) { in adapt() argument
36 return sp<Device>::make(std::move(device), std::move(executor)); in adapt()
DPreparedModel.cpp140 const Executor& executor, const V1_0::Request& request, in execute() argument
159 executor(std::move(task), userId, {}); in execute()
165 const Executor& executor, const V1_0::Request& request, in execute_1_2() argument
186 executor(std::move(task), userId, {}); in execute_1_2()
192 const Executor& executor, const V1_3::Request& request, in execute_1_3() argument
219 executor(std::move(task), userId, nnDeadline); in execute_1_3()
292 PreparedModel::PreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, uid_t userId) in PreparedModel() argument
293 : kPreparedModel(std::move(preparedModel)), kExecutor(std::move(executor)), kUserId(userId) { in PreparedModel()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp80 Executor executor; member
88 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
90 : executor(executor), in TestConfig()
95 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
97 : executor(executor), in TestConfig()
591 switch (testConfig.executor) { in EvaluatePreparedModel()
720 if (testConfig.executor == Executor::FENCED && hasZeroSizedOutput(testModel)) { in EvaluatePreparedModel()
732 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
743 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
835 for (const Executor executor : executorList) { in EvaluatePreparedModel() local
[all …]
DVtsHalNeuralnetworks.h59 std::string toString(Executor executor);
DVtsHalNeuralnetworks.cpp203 std::string toString(Executor executor) { in toString() argument
204 switch (executor) { in toString()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp57 Executor executor; member
65 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType) in TestConfig()
66 : executor(executor), in TestConfig()
71 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
73 : executor(executor), in TestConfig()
564 switch (testConfig.executor) { in EvaluatePreparedModel()
696 if (testConfig.executor == Executor::FENCED && hasZeroSizedOutput(testModel)) { in EvaluatePreparedModel()
708 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
719 if (testConfig.executor == Executor::FENCED) { in EvaluatePreparedModel()
813 for (const Executor executor : executorList) { in EvaluatePreparedModel() local
[all …]
DVtsHalNeuralnetworks.h57 std::string toString(Executor executor);
DVtsHalNeuralnetworks.cpp185 std::string toString(Executor executor) { in toString() argument
186 switch (executor) { in toString()
DMemoryDomainTests.cpp1222 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest()
1224 const std::string executorStr = toString(executor); in printMemoryDomainExecutionTest()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DAdapter.h55 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor);
DPreparedModel.h42 PreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, uid_t userId);
DDevice.h44 Device(nn::SharedDevice device, Executor executor);
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp68 Executor executor; member
229 switch (testConfig.executor) { in EvaluatePreparedModel()
358 for (const Executor executor : executorList) { in EvaluatePreparedModel() local
360 const TestConfig testConfig = {.executor = executor, in EvaluatePreparedModel()