Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/
DLegacyUtils.cpp45 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion) { in operator <<() argument
46 switch (halVersion) { in operator <<()
64 return os << "HalVersion{" << static_cast<int32_t>(halVersion) << "}"; in operator <<()
131 static Version convert(HalVersion halVersion) { in convert() argument
132 switch (halVersion) { in convert()
150 LOG(FATAL) << "Cannot convert " << halVersion; in convert()
540 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument
542 if (halVersion < minSupportedHalVersion) { in validateHalVersion()
545 << " and later (validating using " << halVersion << ")"; in validateHalVersion()
704 HalVersion halVersion, const SubgraphValidationHelper& helper) { in validateOperation() argument
[all …]
DLegacyHalUtils.cpp193 static int validateHalVersion(ANeuralNetworksOperationType opType, HalVersion halVersion, in validateHalVersion() argument
195 if (halVersion < minSupportedHalVersion) { in validateHalVersion()
198 << " and later (validating using " << halVersion << ")"; in validateHalVersion()
207 const std::vector<Operand>& operands, HalVersion halVersion) { in validateOperation() argument
209 NN_RETURN_IF_ERROR(validateHalVersion(opType, halVersion, HalVersion::V1_3)); in validateOperation()
214 halVersion, {}); in validateOperation()
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h92 std::ostream& operator<<(std::ostream& os, const HalVersion& halVersion);
242 HalVersion halVersion, const SubgraphValidationHelper& helper);
/packages/modules/NeuralNetworks/runtime/test/
DTestGenerated.cpp417 static std::optional<int64_t> halVersionToFeatureLevel(TestHalVersion halVersion) { in halVersionToFeatureLevel() argument
418 switch (halVersion) { in halVersionToFeatureLevel()
437 << static_cast<std::underlying_type_t<TestHalVersion>>(halVersion); in halVersionToFeatureLevel()
DTestPartitioning.cpp1020 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1022 : DeviceSpecification(name, perf, perf, operationMask, oem, halVersion,
1027 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1030 halVersion, operationTypes) {}
1034 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1036 : DeviceSpecification(name, version, perf, perf, operationMask, oem, halVersion,
1041 HalVersion halVersion = HalVersion::LATEST, in DeviceSpecification()
1045 mHalVersion(halVersion),
1061 DeviceSpecification(const std::string& name, float perf, HalVersion halVersion, in DeviceSpecification()
1066 makeOperationMask(halVersion, operationMaskV1_0, operationMaskV1_1, in DeviceSpecification()
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DTestRandomGraph.cpp466 #define TEST_SINGLE_OPERATION(operation, halVersion, criteria) \ argument
467 TEST_P(SingleOperationTest, operation##_##halVersion) { \
469 .versions = {TestHalVersion::halVersion}}; \