Lines Matching refs:V1_3

474 static void logSubgraphToInfo(std::string label, const V1_3::Subgraph& subgraph) {  in logSubgraphToInfo()
481 void logModelToInfo(const V1_3::Model& model) { in logModelToInfo()
853 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
914 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
956 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
997 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1034 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1152 minSupportedHalVersion = HalVersion::V1_3; in validateOperation()
1345 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1402 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1449 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1506 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1560 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1601 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1661 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1686 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1719 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1784 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1813 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1839 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1848 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
1855 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
2016 template hal::hidl_vec<V1_3::Capabilities::OperandPerformance>
2017 nonExtensionOperandPerformance<HalVersion::V1_3>(PerformanceInfo perf);
2036 void update(hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update()
2037 V1_3::OperandType type, PerformanceInfo perf) { in update()
2038 update<HalVersion::V1_3>(operandPerformance, type, perf); in update()
2062 PerformanceInfo lookup(const hidl_vec<V1_3::Capabilities::OperandPerformance>& operandPerformance, in lookup()
2063 V1_3::OperandType type) { in lookup()
2064 CHECK(type != V1_3::OperandType::SUBGRAPH) in lookup()
2066 return lookup<HalVersion::V1_3>(operandPerformance, type); in lookup()
2089 static bool isQuantized8PerformanceConsistentWithP(const V1_3::Capabilities& capabilities) { in isQuantized8PerformanceConsistentWithP()
2135 bool compliantWithV1_0(const V1_3::Capabilities& capabilities) { in compliantWithV1_0()
2168 bool compliantWithV1_1(const V1_3::Capabilities& capabilities) { in compliantWithV1_1()
2191 bool compliantWithV1_2(const V1_3::Capabilities&) { in compliantWithV1_2()
2207 bool compliantWithV1_3(const V1_3::Capabilities&) { in compliantWithV1_3()
2215 V1_0::ErrorStatus convertToV1_0(V1_3::ErrorStatus status) { in convertToV1_0()
2217 case V1_3::ErrorStatus::NONE: in convertToV1_0()
2219 case V1_3::ErrorStatus::DEVICE_UNAVAILABLE: in convertToV1_0()
2221 case V1_3::ErrorStatus::GENERAL_FAILURE: in convertToV1_0()
2223 case V1_3::ErrorStatus::OUTPUT_INSUFFICIENT_SIZE: in convertToV1_0()
2225 case V1_3::ErrorStatus::INVALID_ARGUMENT: in convertToV1_0()
2227 case V1_3::ErrorStatus::MISSED_DEADLINE_TRANSIENT: in convertToV1_0()
2229 case V1_3::ErrorStatus::MISSED_DEADLINE_PERSISTENT: in convertToV1_0()
2231 case V1_3::ErrorStatus::RESOURCE_EXHAUSTED_TRANSIENT: in convertToV1_0()
2233 case V1_3::ErrorStatus::RESOURCE_EXHAUSTED_PERSISTENT: in convertToV1_0()
2240 V1_3::ErrorStatus convertToV1_3(V1_0::ErrorStatus status) { in convertToV1_3()
2241 return static_cast<V1_3::ErrorStatus>(status); in convertToV1_3()
2244 V1_3::ErrorStatus convertToV1_3(V1_3::ErrorStatus status) { in convertToV1_3()
2256 V1_0::OperationType uncheckedConvertToV1_0(V1_3::OperationType type) { in uncheckedConvertToV1_0()
2268 V1_1::OperationType uncheckedConvertToV1_1(V1_3::OperationType type) { in uncheckedConvertToV1_1()
2280 V1_2::OperationType uncheckedConvertToV1_2(V1_3::OperationType type) { in uncheckedConvertToV1_2()
2284 static V1_3::OperationType convertToV1_3(V1_0::OperationType type) { in convertToV1_3()
2285 return static_cast<V1_3::OperationType>(type); in convertToV1_3()
2288 static V1_3::OperationType convertToV1_3(V1_1::OperationType type) { in convertToV1_3()
2289 return static_cast<V1_3::OperationType>(type); in convertToV1_3()
2292 static V1_3::OperationType convertToV1_3(V1_2::OperationType type) { in convertToV1_3()
2293 return static_cast<V1_3::OperationType>(type); in convertToV1_3()
2320 V1_0::Capabilities convertToV1_0(const V1_3::Capabilities& capabilities) { in convertToV1_0()
2354 V1_1::Capabilities convertToV1_1(const V1_3::Capabilities& capabilities) { in convertToV1_1()
2410 V1_2::Capabilities convertToV1_2(const V1_3::Capabilities& capabilities) { in convertToV1_2()
2418 hidl_vec<V1_3::Capabilities::OperandPerformance> opPerfSupported; in convertToV1_2()
2422 [](V1_3::Capabilities::OperandPerformance opPerf) { in convertToV1_2()
2430 [](V1_3::Capabilities::OperandPerformance opPerf) { in convertToV1_2()
2437 V1_3::Capabilities convertToV1_3(const V1_0::Capabilities& capabilities) { in convertToV1_3()
2441 V1_3::Capabilities convertToV1_3(const V1_1::Capabilities& capabilities) { in convertToV1_3()
2445 V1_3::Capabilities convertToV1_3(const V1_2::Capabilities& capabilities) { in convertToV1_3()
2446 V1_3::Capabilities ret = { in convertToV1_3()
2458 return V1_3::Capabilities::OperandPerformance{ in convertToV1_3()
2459 static_cast<V1_3::OperandType>(opPerf.type), opPerf.info}; in convertToV1_3()
2464 V1_3::Capabilities convertToV1_3(const V1_3::Capabilities& capabilities) { in convertToV1_3()
2496 bool compliantWithV1_0(const V1_3::Operand& operand) { in compliantWithV1_0()
2503 bool compliantWithV1_2(const V1_3::Operand& operand) { in compliantWithV1_2()
2508 bool compliantWithV1_3(const V1_3::Operand& operand) { in compliantWithV1_3()
2512 static bool compliantWith(HalVersion version, const V1_3::Model& model, in compliantWith()
2539 case HalVersion::V1_3: in compliantWith()
2604 bool compliantWithV1_0(const V1_3::Model& model, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_0()
2620 bool compliantWithV1_1(const V1_3::Model& model, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_1()
2636 bool compliantWithV1_2(const V1_3::Model& model, std::set<uint32_t>* noncompliantOperations) { in compliantWithV1_2()
2646 static V1_0::Operation uncheckedConvertToV1_0(const V1_3::Operation& operation) { in uncheckedConvertToV1_0()
2658 static V1_1::Operation uncheckedConvertToV1_1(const V1_3::Operation& operation) { in uncheckedConvertToV1_1()
2676 static V1_2::Operation uncheckedConvertToV1_2(const V1_3::Operation& operation) { in uncheckedConvertToV1_2()
2682 static V1_3::Operation convertToV1_3(const V1_0::Operation& operation) { in convertToV1_3()
2688 static V1_3::Operation convertToV1_3(const V1_1::Operation& operation) { in convertToV1_3()
2694 static V1_3::Operation convertToV1_3(const V1_2::Operation& operation) { in convertToV1_3()
2701 const hidl_vec<V1_3::Operation>& operations) { in uncheckedConvertToV1_0()
2705 [](const V1_3::Operation& operation) { return uncheckedConvertToV1_0(operation); }); in uncheckedConvertToV1_0()
2719 const hidl_vec<V1_3::Operation>& operations) { in uncheckedConvertToV1_2()
2723 [](const V1_3::Operation& operation) { return uncheckedConvertToV1_2(operation); }); in uncheckedConvertToV1_2()
2737 const hidl_vec<V1_3::Operation>& operations) { in uncheckedConvertToV1_1()
2741 [](const V1_3::Operation& operation) { return uncheckedConvertToV1_1(operation); }); in uncheckedConvertToV1_1()
2759 static hidl_vec<V1_3::Operation> convertToV1_3(const hidl_vec<V1_0::Operation>& operations) { in convertToV1_3()
2760 hidl_vec<V1_3::Operation> result(operations.size()); in convertToV1_3()
2766 static hidl_vec<V1_3::Operation> convertToV1_3(const hidl_vec<V1_1::Operation>& operations) { in convertToV1_3()
2767 hidl_vec<V1_3::Operation> result(operations.size()); in convertToV1_3()
2773 static hidl_vec<V1_3::Operation> convertToV1_3(const hidl_vec<V1_2::Operation>& operations) { in convertToV1_3()
2774 hidl_vec<V1_3::Operation> result(operations.size()); in convertToV1_3()
2784 static bool compliantWithV1_0(const V1_3::OperandType& operandType) { in compliantWithV1_0()
2788 static bool compliantWithV1_2(const V1_3::OperandType& operandType) { in compliantWithV1_2()
2804 V1_2::OperandType convertToV1_2(const V1_3::OperandType& operandType) { in convertToV1_2()
2812 V1_0::OperandType convertToV1_0(const V1_3::OperandType& operandType) { in convertToV1_0()
2824 bool compliantWithV1_0(hal::V1_3::OperandLifeTime lifetime) { in compliantWithV1_0()
2825 return lifetime != V1_3::OperandLifeTime::SUBGRAPH; in compliantWithV1_0()
2832 bool compliantWithV1_3(hal::V1_3::OperandLifeTime lifetime) { in compliantWithV1_3()
2840 V1_0::OperandLifeTime convertToV1_0(V1_3::OperandLifeTime lifetime) { in convertToV1_0()
2848 V1_3::OperandLifeTime convertToV1_3(V1_0::OperandLifeTime lifetime) { in convertToV1_3()
2849 return static_cast<V1_3::OperandLifeTime>(lifetime); in convertToV1_3()
2852 V1_3::OperandLifeTime convertToV1_3(V1_3::OperandLifeTime lifetime) { in convertToV1_3()
2866 V1_0::Operand convertToV1_0(const V1_3::Operand& operand) { in convertToV1_0()
2886 V1_2::Operand convertToV1_2(const V1_3::Operand& operand) { in convertToV1_2()
2897 V1_3::Operand convertToV1_3(const V1_0::Operand& operand) { in convertToV1_3()
2898 return {.type = static_cast<V1_3::OperandType>(operand.type), in convertToV1_3()
2907 V1_3::Operand convertToV1_3(const V1_2::Operand& operand) { in convertToV1_3()
2908 return {.type = static_cast<V1_3::OperandType>(operand.type), in convertToV1_3()
2918 V1_3::Operand convertToV1_3(const V1_3::Operand& operand) { in convertToV1_3()
2933 hidl_vec<V1_0::Operand> convertToV1_0(const hidl_vec<V1_3::Operand>& operands) { in convertToV1_0()
2936 [](const V1_3::Operand& operand) { return convertToV1_0(operand); }); in convertToV1_0()
2951 hidl_vec<V1_2::Operand> convertToV1_2(const hidl_vec<V1_3::Operand>& operands) { in convertToV1_2()
2954 [](const V1_3::Operand& operand) { return convertToV1_2(operand); }); in convertToV1_2()
2958 hidl_vec<V1_3::Operand> convertToV1_3(const hidl_vec<V1_0::Operand>& operands) { in convertToV1_3()
2959 hidl_vec<V1_3::Operand> result(operands.size()); in convertToV1_3()
2965 hidl_vec<V1_3::Operand> convertToV1_3(const hidl_vec<V1_2::Operand>& operands) { in convertToV1_3()
2966 hidl_vec<V1_3::Operand> result(operands.size()); in convertToV1_3()
2972 hidl_vec<V1_3::Operand> convertToV1_3(const hidl_vec<V1_3::Operand>& operands) { in convertToV1_3()
3006 V1_0::Model convertToV1_0(const V1_3::Model& model) { in convertToV1_0()
3047 V1_1::Model convertToV1_1(const V1_3::Model& model) { in convertToV1_1()
3086 V1_2::Model convertToV1_2(const V1_3::Model& model) { in convertToV1_2()
3101 V1_3::Model convertToV1_3(const V1_0::Model& model) { in convertToV1_3()
3111 V1_3::Model convertToV1_3(const V1_1::Model& model) { in convertToV1_3()
3121 V1_3::Model convertToV1_3(const V1_2::Model& model) { in convertToV1_3()
3132 V1_3::Model convertToV1_3(const V1_3::Model& model) { in convertToV1_3()
3140 bool compliantWithV1_0(const V1_3::Request& request) { in compliantWithV1_0()
3142 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_0()
3150 bool compliantWithV1_2(const V1_3::Request& request) { in compliantWithV1_2()
3152 if (pool.getDiscriminator() != V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory) { in compliantWithV1_2()
3161 static hidl_memory convertToV1_0(const V1_3::Request::MemoryPool& pool) { in convertToV1_0()
3163 case V1_3::Request::MemoryPool::hidl_discriminator::hidlMemory: in convertToV1_0()
3165 case V1_3::Request::MemoryPool::hidl_discriminator::token: in convertToV1_0()
3170 static V1_3::Request::MemoryPool convertToV1_3(const hidl_memory& pool) { in convertToV1_3()
3171 V1_3::Request::MemoryPool ret; in convertToV1_3()
3180 static V1_0::Request uncheckedConvertToV1_0(const V1_3::Request& request) { in uncheckedConvertToV1_0()
3187 V1_0::Request convertToV1_0(const V1_3::Request& request) { in convertToV1_0()
3195 V1_0::Request convertToV1_2(const V1_3::Request& request) { in convertToV1_2()
3203 V1_3::Request convertToV1_3(const V1_0::Request& request) { in convertToV1_3()
3204 hidl_vec<V1_3::Request::MemoryPool> pools(request.pools.size()); in convertToV1_3()
3210 V1_3::Request convertToV1_3(const V1_3::Request& request) { in convertToV1_3()