Home
last modified time | relevance | path

Searched refs:ComputeMode (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestMain.cpp58 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test()
80 case Execution::ComputeMode::SYNC: in test()
82 case Execution::ComputeMode::ASYNC: in test()
84 case Execution::ComputeMode::BURST: in test()
86 case Execution::ComputeMode::FENCED: in test()
133 int n = test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC) | in main()
134 test(/*useCpuOnly=*/false, Execution::ComputeMode::SYNC) | in main()
135 test(/*useCpuOnly=*/true, Execution::ComputeMode::ASYNC) | in main()
136 test(/*useCpuOnly=*/true, Execution::ComputeMode::SYNC); in main()
143 n |= test(/*useCpuOnly=*/false, Execution::ComputeMode::ASYNC, /*allowSyncExecHal=*/false) | in main()
[all …]
DTestNeuralNetworksWrapper.cpp23 Execution::ComputeMode Execution::mComputeMode = Execution::ComputeMode::SYNC;
DTestNeuralNetworksWrapper.h414 case ComputeMode::SYNC: { in compute()
417 case ComputeMode::ASYNC: { in compute()
430 case ComputeMode::BURST: { in compute()
442 case ComputeMode::FENCED: { in compute()
464 enum class ComputeMode { SYNC, ASYNC, BURST, FENCED }; enum
465 static ComputeMode setComputeMode(ComputeMode mode) { in setComputeMode()
466 ComputeMode oldComputeMode = mComputeMode; in setComputeMode()
492 static ComputeMode mComputeMode;
DTestGenerated.cpp390 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::SYNC); in TEST_P()
396 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::ASYNC); in TEST_P()
402 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::BURST); in TEST_P()
429 const auto oldComputeMode = Execution::setComputeMode(Execution::ComputeMode::FENCED); in TEST_P()
DTestExecution.cpp765 WrapperExecution::setComputeMode(WrapperExecution::ComputeMode::BURST); in TestWait()
/frameworks/ml/nn/
DTEST_MAPPING13 // * computeMode = ComputeMode::ASYNC