Home
last modified time | relevance | path

Searched refs:poolIndex (Results 1 – 25 of 33) sorted by relevance

12

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DBasicTests.cpp86 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
96 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
106 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
116 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
126 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
136 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
DGeneratedTestHarness.cpp53 loc = {.poolIndex = 0, in createModel()
58 loc = {.poolIndex = 0, in createModel()
DUtils.cpp114 DataLocation loc = {.poolIndex = kInputPoolIndex, in createRequest()
136 DataLocation loc = {.poolIndex = kOutputPoolIndex, in createRequest()
DValidateModel.cpp84 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in addOperand()
131 operand->location.poolIndex = 0; in becomeConstantCopy()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp93 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
103 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
113 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
123 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
133 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
143 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
DGeneratedTestHarness.cpp60 loc = {.poolIndex = 0, in createModel()
65 loc = {.poolIndex = 0, in createModel()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DBasicTests.cpp98 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
107 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
116 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
125 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
134 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
143 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
DMemoryDomainTests.cpp1013 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1014 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
1048 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1049 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
1075 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1077 .location = {.poolIndex = 1, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1079 .location = {.poolIndex = 2, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1080 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 3}}; in TEST_P()
1109 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1110 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
[all …]
DGeneratedTestHarness.cpp219 .poolIndex = 0, in createSubgraph()
227 .poolIndex = 0, in createSubgraph()
235 .poolIndex = 0, in createSubgraph()
419 DataLocation loc = {.poolIndex = static_cast<int32_t>(mBuffers.size() + in createRequest()
431 DataLocation loc = {.poolIndex = kInputPoolIndex, in createRequest()
448 DataLocation loc = {.poolIndex = static_cast<int32_t>(mBuffers.size() + in createRequest()
468 DataLocation loc = {.poolIndex = kOutputPoolIndex, in createRequest()
509 if (!inputs[i].hasNoValue && inputs[i].location.poolIndex == kInputPoolIndex) { in createRequest()
527 if (outputLoc.poolIndex == kOutputPoolIndex) { in getOutputBuffers()
535 const uint32_t bufferIndex = outputLoc.poolIndex - kDeviceMemoryBeginIndex; in getOutputBuffers()
DUtils.cpp209 DataLocation loc = {.poolIndex = kInputPoolIndex, in createRequest()
231 DataLocation loc = {.poolIndex = kOutputPoolIndex, in createRequest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DBasicTests.cpp108 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
118 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
128 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
138 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
148 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
158 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
DMemoryDomainTests.cpp966 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
967 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
1001 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1002 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
1028 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1030 .location = {.poolIndex = 1, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1032 .location = {.poolIndex = 2, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1033 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 3}}; in TEST_P()
1060 .location = {.poolIndex = 0, .offset = 0, .length = kTestOperandDataSize}}; in TEST_P()
1061 RequestArgument deviceMemoryArg = {.location = {.poolIndex = 1}}; in TEST_P()
[all …]
DGeneratedTestHarness.cpp204 .poolIndex = 0, in createSubgraph()
212 .poolIndex = 0, in createSubgraph()
220 .poolIndex = 0, in createSubgraph()
384 DataLocation loc = {.poolIndex = static_cast<uint32_t>(mBuffers.size() + in createRequest()
394 DataLocation loc = {.poolIndex = kInputPoolIndex, in createRequest()
410 DataLocation loc = {.poolIndex = static_cast<uint32_t>(mBuffers.size() + in createRequest()
428 DataLocation loc = {.poolIndex = kOutputPoolIndex, in createRequest()
459 if (!inputs[i].hasNoValue && inputs[i].location.poolIndex == kInputPoolIndex) { in createRequest()
477 if (outputLoc.poolIndex == kOutputPoolIndex) { in getOutputBuffers()
485 const uint32_t bufferIndex = outputLoc.poolIndex - kDeviceMemoryBeginIndex; in getOutputBuffers()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBufferTracker.cpp59 uint32_t poolIndex, const Request& request, in validateRequest() argument
61 CHECK_LT(poolIndex, request.pools.size()); in validateRequest()
62 CHECK(std::holds_alternative<Request::MemoryDomainToken>(request.pools[poolIndex])); in validateRequest()
68 if (request.inputs[i].location.poolIndex != poolIndex) continue; in validateRequest()
91 if (request.outputs[i].location.poolIndex != poolIndex) continue; in validateRequest()
DConversions.cpp214 VERIFY_NON_NEGATIVE(location.poolIndex) << "DataLocation: pool index must not be negative"; in unvalidatedConvert()
229 .poolIndex = static_cast<uint32_t>(location.poolIndex), in unvalidatedConvert()
907 VERIFY_LE_INT32_MAX(location.poolIndex) in unvalidatedConvert()
910 .poolIndex = static_cast<int32_t>(location.poolIndex), in unvalidatedConvert()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp167 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
177 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
187 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
197 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
207 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
217 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in TEST_P()
DGeneratedTestHarness.cpp86 loc = {.poolIndex = 0, in createModel()
91 loc = {.poolIndex = 0, in createModel()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DDataLocation.aidl37 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DDataLocation.aidl37 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DDataLocation.aidl49 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DDataLocation.aidl37 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DDataLocation.aidl37 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DDataLocation.aidl37 int poolIndex;
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBufferTracker.h51 ErrorStatus validateRequest(uint32_t poolIndex, const Request& request,
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp243 .poolIndex = location.poolIndex, in unvalidatedConvert()
527 .poolIndex = location.poolIndex, in unvalidatedConvert()

12