Home
last modified time | relevance | path

Searched refs:halVersion (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp158 static Version convert(HalVersion halVersion) { in convert() argument
159 switch (halVersion) { in convert()
173 LOG(FATAL) << "Cannot convert " << halVersion; in convert()
572 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument
574 if (halVersion < minSupportedHalVersion) { in validateHalVersion()
577 << " and later (validating using " << halVersion << ")"; in validateHalVersion()
736 HalVersion halVersion, const SubgraphValidationHelper& helper) { in validateOperation() argument
745 if (halVersion < HalVersion::V1_2) { in validateOperation()
748 << halVersion; in validateOperation()
774 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_0)); in validateOperation()
[all …]
DLegacyHalUtils.cpp192 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument
194 if (halVersion < minSupportedHalVersion) { in validateHalVersion()
197 << " and later (validating using " << halVersion << ")"; in validateHalVersion()
206 const std::vector<Operand>& operands, HalVersion halVersion) { in validateOperation() argument
208 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
213 halVersion, {}); in validateOperation()
DTypeUtils.cpp897 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion) { in operator <<() argument
898 switch (halVersion) { in operator <<()
912 return os << "HalVersion{" << underlyingType(halVersion) << "}"; in operator <<()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp1019 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1021 : DeviceSpecification(name, perf, perf, operationMask, oem, halVersion,
1026 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1029 halVersion, operationTypes) {}
1033 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1035 : DeviceSpecification(name, version, perf, perf, operationMask, oem, halVersion,
1040 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1044 mHalVersion(halVersion),
1060 DeviceSpecification(const std::string& name, float perf, HalVersion halVersion, in DeviceSpecification()
1065 makeOperationMask(halVersion, operationMaskV1_0, operationMaskV1_1, in DeviceSpecification()
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp462 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument
463 TEST_P(SingleOperationTest, operation##_##halVersion) { \
465 .versions = {TestHalVersion::halVersion}}; \
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h263 HalVersion halVersion, const SubgraphValidationHelper& helper);
/packages/modules/NeuralNetworks/common/include/nnapi/
DTypeUtils.h137 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion);