/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | GeneratedTestHarness.cpp | 80 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 …]
|
D | VtsHalNeuralnetworks.cpp | 203 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()
|
D | VtsHalNeuralnetworks.h | 57 enum class Executor { ASYNC, SYNC, BURST, FENCED }; enum 59 std::string toString(Executor executor);
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | GeneratedTestHarness.cpp | 63 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/ |
D | Adapter.h | 43 using Executor = std::function<void(Task, uid_t, nn::OptionalTimePoint)>; variable 55 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor);
|
D | PreparedModel.h | 42 PreparedModel(nn::SharedPreparedModel preparedModel, Executor executor, uid_t userId); 73 const Executor kExecutor;
|
D | Device.h | 44 Device(nn::SharedDevice device, Executor executor); 91 const Executor kExecutor;
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | GeneratedTestHarness.cpp | 57 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 …]
|
D | VtsHalNeuralnetworks.h | 55 enum class Executor { SYNC, BURST, FENCED }; enum 57 std::string toString(Executor executor);
|
D | VtsHalNeuralnetworks.cpp | 185 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()
|
D | MemoryDomainTests.cpp | 870 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/ |
D | Adapter.cpp | 35 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()
|
D | Device.cpp | 67 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()
|
D | PreparedModel.cpp | 140 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()
|