Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestMain.cpp51 static int test(bool useCpuOnly, Execution::ComputeMode computeMode, bool allowSyncExecHal = true) { in test() argument
53 (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()
/frameworks/ml/nn/runtime/
DManager.h92 void setUseCpuOnly(bool useCpuOnly) { mSetCpuOnly = useCpuOnly; } in setUseCpuOnly() argument