Searched refs:useCpuOnly (Results 1 – 3 of 3) sorted by relevance
58 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() argument65 (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()
12 // * useCpuOnly = 0
130 void setUseCpuOnly(bool useCpuOnly) { mSetCpuOnly = useCpuOnly; } in setUseCpuOnly() argument