Home
last modified time | relevance | path

Searched refs:operandPerformance (Results 1 – 17 of 17) sorted by relevance

/frameworks/ml/nn/driver/sample/
DSampleDriverMinimal.cpp53 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>({1.0f, 1.0f}), in getCapabilities_1_3()
56 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3()
58 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3()
DSampleDriverFloatSlow.cpp52 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>({1.0f, 1.0f}), in getCapabilities_1_3()
55 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3()
57 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3()
DSampleDriverFloatFast.cpp52 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>({1.0f, 1.0f}), in getCapabilities_1_3()
55 update(&capabilities.operandPerformance, OperandType::TENSOR_FLOAT32, in getCapabilities_1_3()
57 update(&capabilities.operandPerformance, OperandType::FLOAT32, in getCapabilities_1_3()
DSampleDriverFull.cpp38 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>(mPerf), in getCapabilities_1_3()
DSampleDriverQuant.cpp52 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>({50.0f, 1.0f}), in getCapabilities_1_3()
/frameworks/ml/nn/common/
DUtils.cpp2020 void update(hal::hidl_vec<VersionedOperandPerformance<version>>* operandPerformance, in update() argument
2022 CHECK(operandPerformance != nullptr); in update()
2024 std::lower_bound(operandPerformance->begin(), operandPerformance->end(), type, in update()
2027 CHECK(it != operandPerformance->end()) in update()
2028 << toString(type) << " not in " << toString(*operandPerformance); in update()
2032 void update(hidl_vec<V1_2::Capabilities::OperandPerformance>* operandPerformance, in update() argument
2034 update<HalVersion::V1_2>(operandPerformance, type, perf); in update()
2036 void update(hidl_vec<V1_3::Capabilities::OperandPerformance>* operandPerformance, in update() argument
2038 update<HalVersion::V1_3>(operandPerformance, type, perf); in update()
2042 PerformanceInfo lookup(const hidl_vec<VersionedOperandPerformance<version>>& operandPerformance, in lookup() argument
[all …]
/frameworks/ml/nn/common/include/
DUtils.h227 void update(hal::hidl_vec<hal::V1_2::Capabilities::OperandPerformance>* operandPerformance,
229 void update(hal::hidl_vec<hal::V1_3::Capabilities::OperandPerformance>* operandPerformance,
236 const hal::hidl_vec<hal::V1_2::Capabilities::OperandPerformance>& operandPerformance,
239 const hal::hidl_vec<hal::V1_3::Capabilities::OperandPerformance>& operandPerformance,
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp182 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf), in getCapabilities_1_3()
/frameworks/ml/nn/runtime/test/
DTestFailingDriver.cpp55 {.operandPerformance = {{.type = OperandType::TENSOR_FLOAT32, in getCapabilities_1_3()
DTestMemoryDomain.cpp89 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf), in getCapabilities_1_3()
DTestCompilationCaching.cpp165 .operandPerformance = nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf), in getCapabilities_1_3()
DTestIntrospectionControl.cpp126 .operandPerformance = in DeviceSpecification()
665 .operandPerformance = in getCapabilities_1_3()
DTestPartitioning.cpp177 .operandPerformance = in makeCapabilities()
185 ::android::nn::update(&capabilities->operandPerformance, type, perfInfo); in update()
189 return ::android::nn::lookup(capabilities.operandPerformance, type).execTime; in lookupExecTime()
974 .operandPerformance =
DTestVersionedInterfaces.cpp844 EXPECT_LT(0u, capabilities.operandPerformance.size()); in TEST_F()
856 EXPECT_LT(0u, capabilities.operandPerformance.size()); in TEST_F()
868 EXPECT_EQ(0u, capabilities.operandPerformance.size()); in TEST_F()
880 EXPECT_EQ(0u, capabilities.operandPerformance.size()); in TEST_F()
DTestExecution.cpp314 .operandPerformance = in getCapabilities_1_3()
DTestPartitioningRandom.cpp549 .operandPerformance = nn::nonExtensionOperandPerformance<HalVersion::V1_3>(kPerf), in getCapabilities_1_3()
/frameworks/ml/nn/runtime/
DManager.cpp75 return lookup(capabilities.operandPerformance, type); in getPerformance()