/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverMinimal.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.4f, .powerUsage = 0.5f}, in getCapabilities() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.4f, .powerUsage = 0.5f}, in getCapabilities() 50 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities() 51 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities() 53 {.execTime = 0.4f, .powerUsage = 0.5f}); in getCapabilities() 55 {.execTime = 0.4f, .powerUsage = 0.5f}); in getCapabilities()
|
D | SampleDriverFloatSlow.cpp | 48 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 1.2f, .powerUsage = 0.6f}, in getCapabilities() 49 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 1.2f, .powerUsage = 0.6f}, in getCapabilities() 51 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities() 52 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities() 54 {.execTime = 1.3f, .powerUsage = 0.7f}); in getCapabilities() 56 {.execTime = 1.3f, .powerUsage = 0.7f}); in getCapabilities()
|
D | SampleDriverFloatFast.cpp | 49 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities() 50 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities() 52 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities() 53 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities() 55 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities() 57 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities()
|
D | SampleDriverQuant.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities() 50 .ifPerformance = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities() 51 .whilePerformance = {.execTime = 50.0f, .powerUsage = 1.0f}}; in getCapabilities()
|
D | SampleDriverAll.cpp | 29 const PerformanceInfo performance{.execTime = 1.1f, .powerUsage = 1.1f}; in main()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverFloatSlow.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 1.2f, .powerUsage = 0.6f}, in getCapabilities_1_3() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 1.2f, .powerUsage = 0.6f}, in getCapabilities_1_3() 50 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 51 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3() 53 {.execTime = 1.3f, .powerUsage = 0.7f}); in getCapabilities_1_3() 55 {.execTime = 1.3f, .powerUsage = 0.7f}); in getCapabilities_1_3()
|
D | SampleDriverFloatFast.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3() 50 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 51 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3() 53 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3() 55 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3()
|
D | SampleDriverMinimal.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.4f, .powerUsage = 0.5f}, in getCapabilities_1_3() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.4f, .powerUsage = 0.5f}, in getCapabilities_1_3() 50 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 51 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3() 53 {.execTime = 0.4f, .powerUsage = 0.5f}); in getCapabilities_1_3() 55 {.execTime = 0.4f, .powerUsage = 0.5f}); in getCapabilities_1_3()
|
D | SampleDriverQuant.cpp | 47 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 48 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 50 .ifPerformance = {.execTime = 50.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 51 .whilePerformance = {.execTime = 50.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3()
|
D | SampleDriverAll.cpp | 28 new SampleDriverFull("nnapi-sample_all", {.execTime = 1.1f, .powerUsage = 1.1f})); in main()
|
D | SampleDriverFloatXNNPACK.cpp | 1940 .relaxedFloat32toFloat16PerformanceScalar = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3() 1941 .relaxedFloat32toFloat16PerformanceTensor = {.execTime = 0.7f, .powerUsage = 1.1f}, in getCapabilities_1_3() 1943 .ifPerformance = {.execTime = 1.0f, .powerUsage = 1.0f}, in getCapabilities_1_3() 1944 .whilePerformance = {.execTime = 1.0f, .powerUsage = 1.0f}}; in getCapabilities_1_3() 1946 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3() 1948 {.execTime = 0.8f, .powerUsage = 1.2f}); in getCapabilities_1_3()
|
D | CanonicalDevice.cpp | 48 const Capabilities::PerformanceInfo kPerfInfo = {.execTime = kPerf, .powerUsage = kPerf}; in makeCapabilities()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | HalUtils.h | 35 const V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in makeCapabilities()
|
D | TestMemoryDomain.cpp | 89 const V1_0::PerformanceInfo kPerf = {.execTime = 0.1, .powerUsage = 0.1}; in getCapabilities_1_3() 455 "test_driver", {.execTime = 0.1f, .powerUsage = 0.1f}))); in TEST_F()
|
D | TestCompilationCaching.cpp | 167 const V1_0::PerformanceInfo kPerf = {.execTime = 0.1, .powerUsage = 0.1}; in getCapabilities_1_3()
|
D | TestPartitioning.cpp | 186 V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in update() 191 return ::android::nn::lookup(capabilities.operandPerformance, type).execTime; in lookupExecTime() 1048 V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; 1049 V1_0::PerformanceInfo perfRelaxedInfo = {.execTime = perfRelaxed,
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 1723 if (performanceInfo) *performanceInfo = {.execTime = 0.0f, .powerUsage = 0.0f}; in SL_ANeuralNetworksDevice_getPerformanceInfo() 1731 return SL_ANeuralNetworksPerformanceInfo{.execTime = info.execTime, in SL_ANeuralNetworksDevice_getPerformanceInfo() 1769 .performanceInfo = {.execTime = operandPerformance.info.execTime, in SL_ANeuralNetworksDevice_forEachOperandPerformanceInfo()
|
D | Manager.cpp | 788 constexpr Capabilities::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in createCpuCapabilities() 882 const Capabilities::PerformanceInfo kPerformance = {.execTime = 1.0f, .powerUsage = 1.0f};
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 59 TestDriverV1_2() : SampleDriverFull(name, {.execTime = 0.9f, .powerUsage = 0.9f}) {} in TestDriverV1_2() 67 : mDriverV1_2(new SampleDriverFull(name, {.execTime = 0.8f, .powerUsage = 0.8f})) {} in TestDriverV1_1() 103 : mDriverV1_2(new SampleDriverFull(name, {.execTime = 0.7f, .powerUsage = 0.7f})) {} in TestDriverV1_0()
|
/packages/modules/NeuralNetworks/common/ |
D | TypeUtils.cpp | 640 return os << "Capabilities::PerformanceInfo{.execTime=" << performanceInfo.execTime in operator <<() 923 return a.execTime == b.execTime && a.powerUsage == b.powerUsage; in operator ==()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 98 return {.execTime = info.execTime, .powerUsage = info.powerUsage}; in convertPerformanceInfo()
|
/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/ |
D | FibonacciDriver.cpp | 177 static const V1_0::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in getCapabilities_1_3()
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 53 float execTime; member
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | Types.h | 251 float execTime = kDefaultExecTime; member
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 52 "example-driver", V1_0::PerformanceInfo{.execTime = 1.0f, .powerUsage = 1.0f}); in getDevice()
|