Home
last modified time | relevance | path

Searched refs:acceleratorName (Results 1 – 19 of 19) sorted by relevance

/test/mlts/benchmark/src/com/android/nn/crashtest/app/
DAcceleratorSpecificTestSupport.java44 Context context, String acceleratorName) throws NnApiDelegationFailure { in findTestModelRunningOnAccelerator() argument
46 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findTestModelRunningOnAccelerator()
54 Context context, String acceleratorName) throws NnApiDelegationFailure { in findAllTestModelsRunningOnAccelerator() argument
57 if (Processor.isTestModelSupportedByAccelerator(context, model, acceleratorName)) { in findAllTestModelsRunningOnAccelerator()
113 public DriverLivenessChecker(Context context, String acceleratorName, in DriverLivenessChecker() argument
127 mProcessor.setNnApiAcceleratorName(acceleratorName); in DriverLivenessChecker()
DNNParallelInferenceTest.java59 String acceleratorName) { in NNParallelInferenceTest() argument
63 mAcceleratorName = acceleratorName; in NNParallelInferenceTest()
116 String acceleratorName) throws NnApiDelegationFailure { in runAllModelsOnNThreadsForOnAccelerator() argument
127 if (acceleratorName != null) { in runAllModelsOnNThreadsForOnAccelerator()
128 intent.putExtra(NNParallelTestActivity.EXTRA_ACCELERATOR_NAME, acceleratorName); in runAllModelsOnNThreadsForOnAccelerator()
DNNPerformanceDegradationTest.java53 int maxPerformanceDegradationPercent, String acceleratorName) { in NNPerformanceDegradationTest() argument
55 mAcceleratorName = acceleratorName; in NNPerformanceDegradationTest()
72 String acceleratorName, int threadCount, in getTestMaxPerfDegradationOfModelWIthThreads() argument
76 acceleratorName, threadCount, maxPerformanceDegradationPercent, in getTestMaxPerfDegradationOfModelWIthThreads()
DNNParallelCrashResistantInferenceTest.java27 String acceleratorName) { in NNParallelCrashResistantInferenceTest() argument
28 super(threadCount, testDuration, acceleratorName); in NNParallelCrashResistantInferenceTest()
DNNParallelInProcessInferenceTest.java27 String acceleratorName) { in NNParallelInProcessInferenceTest() argument
28 super(threadCount, testDuration, acceleratorName); in NNParallelInProcessInferenceTest()
DNNRandomGraphLoadTest.java27 Duration duration, String acceleratorName) { in NNRandomGraphLoadTest() argument
29 acceleratorName, /*runModelCompilationOnly=*/true); in NNRandomGraphLoadTest()
DNNRandomGraphExecutionTest.java29 Duration duration, String acceleratorName) { in NNRandomGraphExecutionTest() argument
31 acceleratorName, /*runModelCompilationOnly=*/false); in NNRandomGraphExecutionTest()
DNNMultipleProcessInferenceTest.java35 int failureRatePercent, String acceleratorName) { in NNMultipleProcessInferenceTest() argument
36 super(processCount, threadCount, duration, failureRatePercent, acceleratorName); in NNMultipleProcessInferenceTest()
DNNMultipleProcessModelLoadTest.java35 int failureRatePercent, String acceleratorName) { in NNMultipleProcessModelLoadTest() argument
36 super(processCount, threadCount, duration, failureRatePercent, acceleratorName); in NNMultipleProcessModelLoadTest()
DNNMultipleProcessTest.java65 int failureRatePercent, String acceleratorName) { in NNMultipleProcessTest() argument
70 mAcceleratorName = acceleratorName; in NNMultipleProcessTest()
DNNRandomGraphTest.java81 Duration duration, String acceleratorName, boolean runModelCompilationOnly) { in NNRandomGraphTest() argument
86 mAcceleratorName = acceleratorName; in NNRandomGraphTest()
DNNMemoryMappedModelCompilationTest.java64 public NNMemoryMappedModelCompilationTest(String acceleratorName) { in NNMemoryMappedModelCompilationTest() argument
66 mAcceleratorName = acceleratorName; in NNMemoryMappedModelCompilationTest()
DNNClientEarlyTerminationTest.java62 public NNClientEarlyTerminationTest(String acceleratorName) { in NNClientEarlyTerminationTest() argument
64 mAcceleratorName = acceleratorName; in NNClientEarlyTerminationTest()
DNNParallelTestActivity.java104 String acceleratorName = intent.getStringExtra(EXTRA_ACCELERATOR_NAME); in onResume() local
114 Duration.ofMillis(testDurationMillis), mTestName, acceleratorName, in onResume()
/test/mlts/benchmark/crashtest/src/com/android/nn/crashtest/
DMainActivity.java167 private List<String> modelsForAccelerator(String acceleratorName) { in modelsForAccelerator() argument
169 if (acceleratorName == null || acceleratorName.equals(ALL_AVAILABLE_ACCELERATORS)) { in modelsForAccelerator()
180 model, acceleratorName); in modelsForAccelerator()
186 acceleratorName, model.mModelName)); in modelsForAccelerator()
275 final String acceleratorName = mAcceleratorName.get(); in startInferenceTest() local
281 testName, acceleratorName, false, runModelCompilationOnly, mmapModel), in startInferenceTest()
291 acceleratorName != null ? "accelerator " + acceleratorName in startInferenceTest()
/test/mlts/benchmark/src/com/android/nn/benchmark/core/
DProcessor.java103 public void setNnApiAcceleratorName(String acceleratorName) { in setNnApiAcceleratorName() argument
104 mAcceleratorName = acceleratorName; in setNnApiAcceleratorName()
148 TestModels.TestModelEntry testModelEntry, String acceleratorName) in isTestModelSupportedByAccelerator() argument
153 tb.setNNApiDeviceName(acceleratorName); in isTestModelSupportedByAccelerator()
158 testModelEntry.mModelName, acceleratorName), e); in isTestModelSupportedByAccelerator()
DNNTestBase.java88 acceleratorName -> !acceleratorName.equalsIgnoreCase( in availableAcceleratorNames()
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/
DPerformanceDegradationTest.java70 float warmupTimeSeconds, float runTimeSeconds, String acceleratorName, int threadCount, in intentInitializer() argument
75 intent.putExtra(ACCELERATOR_NAME, acceleratorName); in intentInitializer()
251 final String acceleratorName, TestModels.TestModelEntry testModelEntry) {
256 mProcessor.setNnApiAcceleratorName(acceleratorName);
DRunModelsInParallel.java71 Duration duration, String testName, String acceleratorName, in intentInitializer() argument
79 intent.putExtra(ACCELERATOR_NAME, acceleratorName); in intentInitializer()