/test/mlts/benchmark/src/com/android/nn/crashtest/app/ |
D | NNMemoryMappedModelCompilationTest.java | 59 private final String mAcceleratorName; field in NNMemoryMappedModelCompilationTest 66 mAcceleratorName = acceleratorName; in NNMemoryMappedModelCompilationTest() 101 … AcceleratorSpecificTestSupport.findTestModelRunningOnAccelerator(activity, mAcceleratorName); in testDriverDoesNotFailWithParallelThreads() 102 assertTrue("No model available to be run on accelerator " + mAcceleratorName, in testDriverDoesNotFailWithParallelThreads() 107 mAcceleratorName, modelForLivenessTest.get()); in testDriverDoesNotFailWithParallelThreads() 126 intent.putExtra(NNParallelTestActivity.EXTRA_ACCELERATOR_NAME, mAcceleratorName); in compileSupportedModelsMemoryMappedOnNThreadsFor()
|
D | NNClientEarlyTerminationTest.java | 57 private final String mAcceleratorName; field in NNClientEarlyTerminationTest 64 mAcceleratorName = acceleratorName; in NNClientEarlyTerminationTest() 97 … AcceleratorSpecificTestSupport.findTestModelRunningOnAccelerator(activity, mAcceleratorName); in testDriverDoesNotFailWithParallelThreads() 98 assertTrue("No model available to be run on accelerator " + mAcceleratorName, in testDriverDoesNotFailWithParallelThreads() 102 mAcceleratorName, modelForLivenessTest.get()); in testDriverDoesNotFailWithParallelThreads() 139 intent.putExtra(NNParallelTestActivity.EXTRA_ACCELERATOR_NAME, mAcceleratorName); in compileSupportedModelsOnNThreadsFor()
|
D | NNMultipleProcessTest.java | 55 protected final String mAcceleratorName; field in NNMultipleProcessTest 70 mAcceleratorName = acceleratorName; in NNMultipleProcessTest() 85 getInstrumentation().getTargetContext(), mAcceleratorName); in findModelForLivenessTest() 96 assertTrue("No model available to be run on accelerator " + mAcceleratorName, in testDriverDoesNotFailWithParallelWorkload() 100 new DriverLivenessChecker(activity, mAcceleratorName, modelForLivenessTest.get()); in testDriverDoesNotFailWithParallelWorkload()
|
D | NNRandomGraphTest.java | 52 protected final String mAcceleratorName; field in NNRandomGraphTest 86 mAcceleratorName = acceleratorName; in NNRandomGraphTest() 97 mModelCount, mAcceleratorName, mDuration, mTestName.getMethodName())); in setUp() 103 getInstrumentation().getTargetContext(), mAcceleratorName); in findModelForLivenessTest()
|
D | NNPerformanceDegradationTest.java | 55 mAcceleratorName = acceleratorName; in NNPerformanceDegradationTest() 67 private final String mAcceleratorName; field in NNPerformanceDegradationTest 95 mAcceleratorName, in setUp() local
|
D | NNParallelInferenceTest.java | 54 private final String mAcceleratorName; field in NNParallelInferenceTest 63 mAcceleratorName = acceleratorName; in NNParallelInferenceTest() 74 mAcceleratorName)); in setUp()
|
D | NNMultipleProcessInferenceTest.java | 47 mAcceleratorName, /*justCompileModel=*/false, in getRunModelsInMultipleProcessesConfigIntent() local
|
D | NNMultipleProcessModelLoadTest.java | 55 mProcessCount, mThreadCount, mDuration, mAcceleratorName, in getRunModelsInMultipleProcessesConfigIntent() local
|
/test/mlts/benchmark/src/com/android/nn/benchmark/core/ |
D | Processor.java | 61 private String mAcceleratorName; field in Processor 80 mAcceleratorName = null; in Processor() 104 mAcceleratorName = acceleratorName; in setNnApiAcceleratorName() 180 tb.setNNApiDeviceName(mAcceleratorName); in changeTest() 342 testModel.mTestName, mAcceleratorName)); in benchmarkAllModels() 346 testModel.mTestName, mAcceleratorName), e); in benchmarkAllModels()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | PerformanceDegradationTest.java | 97 private String mAcceleratorName; 109 mAcceleratorName = configParams.getStringExtra(ACCELERATOR_NAME); in init() 121 mAcceleratorName); in call() 173 () -> new ModelCompiler(start, mContext, mAcceleratorName, in testDegradationForModels() 213 mTestName, mAcceleratorName, mThreadCount, performanceDegradation, in testDegradationForModels() 230 benchmarkProcessor.setNnApiAcceleratorName(mAcceleratorName); in modelPerformanceCollector()
|
D | RunModelsInParallel.java | 61 private String mAcceleratorName; field in RunModelsInParallel 93 mAcceleratorName = configParams.getStringExtra(ACCELERATOR_NAME); in init() 94 mIgnoreUnsupportedModels = mAcceleratorName != null && configParams.getBooleanExtra( in init() 136 result.setNnApiAcceleratorName(mAcceleratorName); in createSubTestRunner()
|
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/ |
D | MainActivity.java | 61 private final AtomicReference<String> mAcceleratorName = new AtomicReference<>(null); field in MainActivity 123 mAcceleratorName.set(position == 0 ? null : acceleratorNames.get(position)); in onCreate() 125 mModelsAdapter.addAll(modelsForAccelerator(mAcceleratorName.get())); in onCreate() 275 final String acceleratorName = mAcceleratorName.get(); in startInferenceTest()
|