Searched refs:ComputeMode (Results 1 – 5 of 5) sorted by relevance
/frameworks/ml/nn/runtime/test/ |
D | TestMain.cpp | 51 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() 68 case Execution::ComputeMode::SYNC: in test() 70 case Execution::ComputeMode::ASYNC: in test() 72 case Execution::ComputeMode::BURST: in test() 115 int n = test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC) | in main() 116 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC) | in main() 117 test(/*useCpuOnly=*/true, Execution::ComputeMode::ASYNC) | in main() 118 test(/*useCpuOnly=*/true, Execution::ComputeMode::SYNC); in main() 125 n |= test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC, /*allowSyncExecHal=*/false) | in main() 126 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC, /*allowSyncExecHal=*/false); in main() [all …]
|
D | TestNeuralNetworksWrapper.h | 166 case ComputeMode::SYNC: { in compute() 169 case ComputeMode::ASYNC: { in compute() 182 case ComputeMode::BURST: { in compute() 204 enum class ComputeMode { SYNC, ASYNC, BURST }; enum 205 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode() 206 ComputeMode oldComputeMode = mComputeMode; in setComputeMode() 230 static ComputeMode mComputeMode;
|
D | TestNeuralNetworksWrapper.cpp | 23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
|
D | TestGenerated.h | 31 #define GENERATED_TESTS_BASE testing::TestWithParam<Execution::ComputeMode> 88 Execution::ComputeMode mOldComputeMode;
|
D | TestGenerated.cpp | 272 INSTANTIATE_TEST_SUITE_P(ComputeMode, GeneratedTests, 273 testing::Values(Execution::ComputeMode::SYNC, 274 Execution::ComputeMode::ASYNC, 275 Execution::ComputeMode::BURST));
|