Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DAdapter.cpp34 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor) { in adapt() argument
35 return sp<Device>::make(std::move(device), std::move(executor)); in adapt()
DDevice.cpp127 nn::GeneralResult<void> prepareModel(const nn::SharedDevice& device, const Executor& executor, in prepareModel() argument
141 executor(std::move(task), {}); in prepareModel()
146 nn::GeneralResult<void> prepareModel_1_1(const nn::SharedDevice& device, const Executor& executor, in prepareModel_1_1() argument
162 executor(std::move(task), {}); in prepareModel_1_1()
167 nn::GeneralResult<void> prepareModel_1_2(const nn::SharedDevice& device, const Executor& executor, in prepareModel_1_2() argument
191 executor(std::move(task), {}); in prepareModel_1_2()
197 const nn::SharedDevice& device, const Executor& executor, const V1_3::Model& model, in prepareModel_1_3() argument
221 executor(std::move(task), nnDeadline); in prepareModel_1_3()
227 const Executor& executor, in prepareModelFromCache() argument
245 executor(std::move(task), {}); in prepareModelFromCache()
[all …]
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DAdapter.cpp35 std::shared_ptr<BnDevice> adapt(::android::nn::SharedDevice device, Executor executor) { in adapt() argument
36 return ndk::SharedRefBase::make<Device>(std::move(device), std::move(executor)); in adapt()
DDevice.cpp162 const nn::SharedDevice& device, const Executor& executor, const Model& model, in prepareModel() argument
192 executor(std::move(task), nnDeadline); in prepareModel()
198 const nn::SharedDevice& device, const Executor& executor, int64_t deadlineNs, in prepareModelFromCache() argument
216 executor(std::move(task), nnDeadline); in prepareModelFromCache()
223 Device::Device(::android::nn::SharedDevice device, Executor executor) in Device() argument
224 : kDevice(std::move(device)), kExecutor(std::move(executor)) { in Device()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp59 Executor executor; member
70 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
72 : executor(executor), in TestConfig()
79 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
81 : executor(executor), in TestConfig()
88 TestConfig(Executor executor, bool measureTiming, OutputType outputType, MemoryType memoryType, in TestConfig()
90 : executor(executor), in TestConfig()
114 ss << "TestConfig{.executor=" << toString(config.executor) in toString()
621 switch (testConfig.executor) { in EvaluatePreparedModel()
793 if (testConfig.executor == Executor::FENCED && hasZeroSizedOutput(testModel)) { in EvaluatePreparedModel()
[all …]
DVtsHalNeuralnetworks.h59 std::string toString(Executor executor);
DVtsHalNeuralnetworks.cpp216 std::string toString(Executor executor) { in toString() argument
217 switch (executor) { in toString()
DMemoryDomainTests.cpp1249 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest()
1251 const std::string executorStr = toString(executor); in printMemoryDomainExecutionTest()
/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()
DMemoryDomainTests.cpp1199 const auto& [namedDevice, operandType, executor] = info.param; in printMemoryDomainExecutionTest()
1201 const std::string executorStr = toString(executor); in printMemoryDomainExecutionTest()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DAdapter.h53 sp<V1_3::IDevice> adapt(nn::SharedDevice device, Executor executor);
DDevice.h44 Device(nn::SharedDevice device, Executor executor);
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DAdapter.h53 std::shared_ptr<BnDevice> adapt(::android::nn::SharedDevice device, Executor executor);
DDevice.h51 Device(::android::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()