Searched refs:useCpuOnly (Results 1 – 2 of 2) sorted by relevance
51 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() argument53 (useCpuOnly << 0) + (static_cast<uint32_t>(computeMode) << 1) + (allowSyncExecHal << 3); in test()56 if (useCpuOnly || !allowSyncExecHal) { in test()60 android::nn::DeviceManager::get()->setUseCpuOnly(useCpuOnly); in test()78 LOG(INFO) << "test(useCpuOnly = " << useCpuOnly << ", computeMode = " << computeModeText() in test()80 std::cout << "[**********] useCpuOnly = " << useCpuOnly in test()
92 void setUseCpuOnly(bool useCpuOnly) { mSetCpuOnly = useCpuOnly; } in setUseCpuOnly() argument