Home
last modified time | relevance | path

Searched refs:kPreparedModel (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/utils/src/
DBurst.cpp43 : kPreparedModel(std::move(preparedModel)) { in Burst()
44 CHECK(kPreparedModel != nullptr); in Burst()
56 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration, hints, in execute()
65 return kPreparedModel->createReusableExecution(request, measure, loopTimeoutDuration, hints, in createReusableExecution()
DExecution.cpp56 : kPreparedModel(std::move(preparedModel)), in Execution()
62 return kPreparedModel->executeInternal(kRequest, kRelocation); in compute()
DPreparedModel.cpp57 : kPreparedModel(std::move(preparedModel)), kDeathHandler(std::move(deathHandler)) {} in PreparedModel()
87 const auto ret = kPreparedModel->execute(request, cb); in executeInternal()
131 sp<V1_0::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DExecution.cpp59 : kPreparedModel(std::move(preparedModel)), in Execution()
68 return kPreparedModel->executeInternal(kRequest, kMeasure, hidlDeadline, kLoopTimeoutDuration, in compute()
78 return kPreparedModel->executeFencedInternal(kRequest, hidlWaitFor, kMeasure, hidlDeadline, in computeFenced()
DPreparedModel.cpp103 kPreparedModel(std::move(preparedModel)), in PreparedModel()
112 const auto ret = kPreparedModel->executeSynchronously_1_3(request, measure, deadline, in executeSynchronously()
127 kPreparedModel->execute_1_3(request, measure, deadline, loopTimeoutDuration, cb); in executeAsynchronously()
217 kPreparedModel->executeFenced(request, waitFor, measure, deadline, loopTimeoutDuration, in executeFencedInternal()
256 return V1_2::utils::Burst::create(shared_from_this(), kPreparedModel, pollingTimeWindow); in configureExecutionBurst()
260 sp<V1_3::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DPreparedModel.cpp64 kPreparedModel(std::move(preparedModel)), in PreparedModel()
71 const auto ret = kPreparedModel->executeSynchronously(request, measure, cb); in executeSynchronously()
82 const auto ret = kPreparedModel->execute_1_2(request, measure, cb); in executeAsynchronously()
159 return Burst::create(shared_from_this(), kPreparedModel, pollingTimeWindow); in configureExecutionBurst()
163 sp<V1_2::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
DExecution.cpp56 : kPreparedModel(std::move(preparedModel)), in Execution()
63 return kPreparedModel->executeInternal(kRequest, kMeasure, kRelocation); in compute()
DBurst.cpp293 : kPreparedModel(std::move(preparedModel)), in Burst()
321 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration, {}, {}); in execute()
350 return kPreparedModel->execute(request, measure, deadline, loopTimeoutDuration, {}, {}); in execute()
367 return kPreparedModel->createReusableExecution(request, measure, loopTimeoutDuration, {}, in createReusableExecution()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DExecution.cpp56 : kPreparedModel(std::move(preparedModel)), in ExecutionWithCachedRequest()
65 return kPreparedModel->executeInternal(kRequest, kMeasure, aidlDeadline, kLoopTimeoutDuration, in compute()
76 return kPreparedModel->executeFencedInternal( in computeFenced()
DPreparedModel.cpp127 : kPreparedModel(std::move(preparedModel)), kFeatureLevel(featureLevel) {} in PreparedModel()
163 const auto ret = kPreparedModel->executeSynchronouslyWithConfig( in executeInternal()
170 const auto ret = kPreparedModel->executeSynchronously( in executeInternal()
218 const auto ret = kPreparedModel->executeFencedWithConfig( in executeFencedInternal()
225 const auto ret = kPreparedModel->executeFenced(request, waitFor, measure, deadline, in executeFencedInternal()
254 const auto ret = kPreparedModel->createReusableExecution( in createReusableExecution()
270 const auto ret = kPreparedModel->configureExecutionBurst(&burst); in configureExecutionBurst()
276 std::shared_ptr<aidl_hal::IPreparedModel> resource = kPreparedModel; in getUnderlyingResource()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DPreparedModel.cpp284 : kPreparedModel(std::move(preparedModel)) { in PreparedModel()
285 CHECK(kPreparedModel != nullptr); in PreparedModel()
289 return kPreparedModel; in getUnderlyingPreparedModel()
294 auto result = adapter::execute(kPreparedModel, request, callback); in execute()
307 auto result = adapter::execute_1_2(kPreparedModel, request, measure, callback); in execute_1_2()
322 auto result = adapter::execute_1_3(kPreparedModel, request, measure, deadline, in execute_1_3()
336 auto result = adapter::executeSynchronously(kPreparedModel, request, measure); in executeSynchronously()
354 auto result = adapter::executeSynchronously_1_3(kPreparedModel, request, measure, deadline, in executeSynchronously_1_3()
374 auto result = adapter::configureExecutionBurst(kPreparedModel, callback, requestChannel, in configureExecutionBurst()
395 auto result = adapter::executeFenced(kPreparedModel, request, waitFor, measure, deadline, in executeFenced()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DPreparedModel.cpp238 : kPreparedModel(std::move(preparedModel)) { in PreparedModel()
239 CHECK(kPreparedModel != nullptr); in PreparedModel()
246 auto result = adapter::executeSynchronously(*kPreparedModel, request, measureTiming, deadlineNs, in executeSynchronously()
262 auto result = adapter::executeFenced(*kPreparedModel, request, waitFor, measureTiming, in executeFenced()
279 *kPreparedModel, request, config.measureTiming, deadlineNs, in executeSynchronouslyWithConfig()
295 auto result = adapter::executeFenced(*kPreparedModel, request, waitFor, config.measureTiming, in executeFencedWithConfig()
309 auto result = kPreparedModel->configureExecutionBurst(); in configureExecutionBurst()
321 return kPreparedModel; in getUnderlyingPreparedModel()
328 *kPreparedModel, request, config.measureTiming, config.loopTimeoutDurationNs, in createReusableExecution()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DBurst.h59 const nn::SharedPreparedModel kPreparedModel;
DExecution.h57 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h78 const sp<V1_0::IPreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DExecution.h58 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h85 const sp<V1_2::IPreparedModel> kPreparedModel; variable
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DExecution.h57 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h94 const sp<V1_3::IPreparedModel> kPreparedModel; variable
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/include/nnapi/hal/aidl/
DPreparedModel.h69 const ::android::nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DPreparedModel.h72 const nn::SharedPreparedModel kPreparedModel;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DExecution.h63 const std::shared_ptr<const PreparedModel> kPreparedModel;
DPreparedModel.h91 const std::shared_ptr<aidl_hal::IPreparedModel> kPreparedModel;
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DGeneratedTestHarness.cpp108 : kDevice(device), kPreparedModel(preparedModel), kTestModel(testModel) {} in DeviceMemoryAllocator()
144 const auto ret = kDevice->allocate({}, {kPreparedModel}, inputRoles, outputRoles, cb); in allocateInternal()
184 const sp<IPreparedModel> kPreparedModel; member in android::hardware::neuralnetworks::V1_3::vts::functional::__anon404ff7050111::DeviceMemoryAllocator
340 : kDevice(std::move(device)), kPreparedModel(std::move(preparedModel)) {} in ExecutionContextV1_3()
355 const sp<IPreparedModel> kPreparedModel; member in android::hardware::neuralnetworks::V1_3::vts::functional::ExecutionContextV1_3
367 DeviceMemoryAllocator allocator(kDevice, kPreparedModel, testModel); in createRequest()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DGeneratedTestHarness.cpp130 : kDevice(device), kPreparedModel(preparedModel), kTestModel(testModel) {} in DeviceMemoryAllocator()
159 parcel.preparedModel = kPreparedModel; in allocateInternal()
199 const std::shared_ptr<IPreparedModel> kPreparedModel; member in aidl::android::hardware::neuralnetworks::vts::functional::__anon4cf4456d0111::DeviceMemoryAllocator
368 : kDevice(std::move(device)), kPreparedModel(std::move(preparedModel)) {} in ExecutionContext()
384 const std::shared_ptr<IPreparedModel> kPreparedModel; member in aidl::android::hardware::neuralnetworks::vts::functional::ExecutionContext
402 DeviceMemoryAllocator allocator(kDevice, kPreparedModel, testModel); in createRequest()

12