Home
last modified time | relevance | path

Searched refs:useCpuOnly (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestMain.cpp58 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() argument
65 (useCpuOnly << 0) + (static_cast<uint32_t>(computeMode) << 1) + (allowSyncExecHal << 3); in test()
68 if (useCpuOnly || !allowSyncExecHal) { in test()
72 android::nn::DeviceManager::get()->setUseCpuOnly(useCpuOnly); in test()
93 stream << "useCpuOnly = " << useCpuOnly << ", computeMode = " << computeModeText() in test()
/frameworks/ml/nn/
DTEST_MAPPING12 // * useCpuOnly = 0
/frameworks/ml/nn/runtime/
DManager.h130 void setUseCpuOnly(bool useCpuOnly) { mSetCpuOnly = useCpuOnly; } in setUseCpuOnly() argument