Home
last modified time | relevance | path

Searched refs:requestInShared (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBurst.cpp179 const nn::Request& requestInShared = in execute() local
184 const auto aidlRequest = NN_TRY(hal::utils::makeExecutionFailure(convert(requestInShared))); in execute()
192 memoryIdentifierTokens.reserve(requestInShared.pools.size()); in execute()
193 holds.reserve(requestInShared.pools.size()); in execute()
194 for (const auto& memoryPool : requestInShared.pools) { in execute()
205 CHECK_EQ(requestInShared.pools.size(), memoryIdentifierTokens.size()); in execute()
251 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution() local
255 auto aidlRequest = NN_TRY(convert(requestInShared)); in createReusableExecution()
261 memoryIdentifierTokens.reserve(requestInShared.pools.size()); in createReusableExecution()
262 holds.reserve(requestInShared.pools.size()); in createReusableExecution()
[all …]
DPreparedModel.cpp81 const nn::Request& requestInShared = in execute() local
86 const auto aidlRequest = NN_TRY(hal::utils::makeExecutionFailure(convert(requestInShared))); in execute()
130 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in executeFenced() local
134 const auto aidlRequest = NN_TRY(convert(requestInShared)); in executeFenced()
201 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution() local
205 auto aidlRequest = NN_TRY(convert(requestInShared)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DPreparedModel.cpp66 const nn::Request& requestInShared = in execute() local
71 const auto hidlRequest = NN_TRY(hal::utils::makeExecutionFailure(convert(requestInShared))); in execute()
114 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution() local
118 auto hidlRequest = NN_TRY(convert(requestInShared)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DPreparedModel.cpp98 const nn::Request& requestInShared = in execute() local
103 const auto hidlRequest = NN_TRY(hal::utils::makeExecutionFailure(convert(requestInShared))); in execute()
143 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution() local
147 auto hidlRequest = NN_TRY(convert(requestInShared)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DPreparedModel.cpp144 const nn::Request& requestInShared = in execute() local
149 const auto hidlRequest = NN_TRY(hal::utils::makeExecutionFailure(convert(requestInShared))); in execute()
187 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in executeFenced() local
191 const auto hidlRequest = NN_TRY(convert(requestInShared)); in executeFenced()
240 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution() local
244 auto hidlRequest = NN_TRY(convert(requestInShared)); in createReusableExecution()
/hardware/interfaces/neuralnetworks/utils/common/src/
DCommonUtils.cpp235 nn::Request requestInShared = *request; in convertRequestFromPointerToShared() local
240 nn::MutableMemoryBuilder inputBuilder(requestInShared.pools.size()); in convertRequestFromPointerToShared()
242 for (auto& input : requestInShared.inputs) { in convertRequestFromPointerToShared()
259 requestInShared.pools.push_back(memory); in convertRequestFromPointerToShared()
265 nn::MutableMemoryBuilder outputBuilder(requestInShared.pools.size()); in convertRequestFromPointerToShared()
267 for (auto& output : requestInShared.outputs) { in convertRequestFromPointerToShared()
283 requestInShared.pools.push_back(memory); in convertRequestFromPointerToShared()
288 *maybeRequestInSharedOut = requestInShared; in convertRequestFromPointerToShared()