Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp80 Executor executor;
88 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
95 TestConfig(Executor executor, MeasureTiming measureTiming, OutputType outputType, in TestConfig()
592 case Executor::ASYNC: { in EvaluatePreparedModel()
611 case Executor::SYNC: { in EvaluatePreparedModel()
623 case Executor::BURST: { in EvaluatePreparedModel()
651 case Executor::FENCED: { 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()
[all …]
DVtsHalNeuralnetworks.cpp203 std::string toString(Executor executor) { in toString()
205 case Executor::ASYNC: in toString()
207 case Executor::SYNC: in toString()
209 case Executor::BURST: in toString()
211 case Executor::FENCED: in toString()
DVtsHalNeuralnetworks.h57 enum class Executor { ASYNC, SYNC, BURST, FENCED }; enum
59 std::string toString(Executor executor);
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DGeneratedTestHarness.cpp63 enum class Executor { ASYNC, SYNC, BURST }; enum
68 Executor executor;
230 case Executor::ASYNC: { in EvaluatePreparedModel()
248 case Executor::SYNC: { in EvaluatePreparedModel()
259 case Executor::BURST: { in EvaluatePreparedModel()
341 std::vector<Executor> executorList; in EvaluatePreparedModel()
347 executorList = {Executor::ASYNC, Executor::SYNC, Executor::BURST}; in EvaluatePreparedModel()
352 executorList = {Executor::ASYNC, Executor::SYNC, Executor::BURST}; in EvaluatePreparedModel()
358 for (const Executor executor : executorList) { in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/
DAdapter.h43 using Executor = std::function<void(Task, uid_t, nn::OptionalTimePoint)>; variable
55 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor);
DPreparedModel.h42 PreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, uid_t userId);
73 const Executor kExecutor;
DDevice.h44 Device(nn::SharedDevice device, Executor executor);
91 const Executor kExecutor;
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp57 Executor executor;
65 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType) in TestConfig()
71 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
565 case Executor::SYNC: { in EvaluatePreparedModel()
586 case Executor::BURST: { in EvaluatePreparedModel()
633 case Executor::FENCED: { 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()
771 std::vector<Executor> executorList; in EvaluatePreparedModel()
[all …]
DVtsHalNeuralnetworks.h55 enum class Executor { SYNC, BURST, FENCED }; enum
57 std::string toString(Executor executor);
DVtsHalNeuralnetworks.cpp185 std::string toString(Executor executor) { in toString()
187 case Executor::SYNC: in toString()
189 case Executor::BURST: in toString()
191 case Executor::FENCED: in toString()
DMemoryDomainTests.cpp870 using MemoryDomainExecutionTestParam = std::tuple<NamedDevice, TestOperandType, Executor>;
890 case Executor::SYNC: in testExecution()
893 case Executor::BURST: in testExecution()
896 case Executor::FENCED: in testExecution()
975 const Executor kExecutor = std::get<Executor>(GetParam());
1175 if (kExecutor == Executor::FENCED) return; in TEST_P()
1218 const auto kExecutorChoices = testing::Values(Executor::SYNC, Executor::BURST, Executor::FENCED);
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DAdapter.cpp35 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor) { in adapt()
40 Executor defaultExecutor = [](Task task, uid_t /*uid*/, nn::OptionalTimePoint /*deadline*/) { in adapt()
DDevice.cpp67 sp<PreparedModel> adaptPreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, in adaptPreparedModel()
111 void notify(CallbackType* callback, PrepareModelResult result, Executor executor, uid_t userId) { in notify()
131 nn::GeneralResult<void> prepareModel(const nn::SharedDevice& device, const Executor& executor, in prepareModel()
151 nn::GeneralResult<void> prepareModel_1_1(const nn::SharedDevice& device, const Executor& executor, in prepareModel_1_1()
173 nn::GeneralResult<void> prepareModel_1_2(const nn::SharedDevice& device, const Executor& executor, in prepareModel_1_2()
204 const nn::SharedDevice& device, const Executor& executor, const V1_3::Model& model, in prepareModel_1_3()
235 const Executor& executor, in prepareModelFromCache()
260 const nn::SharedDevice& device, const Executor& executor, in prepareModelFromCache_1_3()
327 Device::Device(nn::SharedDevice device, Executor executor) in Device()
DPreparedModel.cpp140 const Executor& executor, const V1_0::Request& request, in execute()
165 const Executor& executor, const V1_0::Request& request, in execute_1_2()
192 const Executor& executor, const V1_3::Request& request, in execute_1_3()
292 PreparedModel::PreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, uid_t userId) in PreparedModel()