/aosp12/packages/modules/NeuralNetworks/driver/sample_aidl/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | SampleDriverAll.cpp | 29 const PerformanceInfo performance{.execTime = 1.1f, .powerUsage = 1.1f}; in main()
|
/aosp12/packages/modules/NeuralNetworks/driver/sample/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | SampleDriverAll.cpp | 28 new SampleDriverFull("nnapi-sample_all", {.execTime = 1.1f, .powerUsage = 1.1f})); in main()
|
H A D | CanonicalDevice.cpp | 48 const Capabilities::PerformanceInfo kPerfInfo = {.execTime = kPerf, .powerUsage = kPerf}; in makeCapabilities()
|
/aosp12/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
H A D | BasicTests.cpp | 47 EXPECT_LT(0.0f, capabilities.float32Performance.execTime); in TEST_P() 49 EXPECT_LT(0.0f, capabilities.quantized8Performance.execTime); in TEST_P() 51 EXPECT_LT(0.0f, capabilities.relaxedFloat32toFloat16Performance.execTime); in TEST_P()
|
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
H A D | BasicTests.cpp | 42 EXPECT_LT(0.0f, capabilities.float32Performance.execTime); in TEST_P() 44 EXPECT_LT(0.0f, capabilities.quantized8Performance.execTime); in TEST_P()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
H A D | PerformanceInfo.aidl | 37 float execTime;
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
H A D | PerformanceInfo.aidl | 37 float execTime;
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
H A D | PerformanceInfo.aidl | 30 float execTime;
|
/aosp12/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
H A D | Conversions.cpp | 98 .execTime = performanceInfo.execTime, in unvalidatedConvert() 288 .execTime = performanceInfo.execTime, in unvalidatedConvert()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | HalUtils.h | 35 const V1_0::PerformanceInfo perfInfo = {.execTime = perf, .powerUsage = perf}; in makeCapabilities()
|
H A 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()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
H A D | BasicTests.cpp | 43 return perf.execTime > 0.0f && perf.powerUsage > 0.0f; in TEST_P()
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
H A D | BasicTests.cpp | 50 return perf.execTime > 0.0f && perf.powerUsage > 0.0f; in TEST_P()
|
/aosp12/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
H A D | InvalidDevice.cpp | 49 .execTime = std::numeric_limits<float>::max(), in create()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/fibonacci_extension/ |
H A D | FibonacciDriver.cpp | 177 static const V1_0::PerformanceInfo kPerf = {.execTime = 1.0f, .powerUsage = 1.0f}; in getCapabilities_1_3()
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
H A 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()
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
H A D | BasicTests.cpp | 49 return perf.execTime > 0.0f && perf.powerUsage > 0.0f; in TEST_P()
|