Home
last modified time | relevance | path

Searched refs:getCpuDevice (Results 1 – 8 of 8) sorted by relevance

/frameworks/ml/nn/runtime/test/
DTestFailingDriver.cpp84 DeviceManager::getCpuDevice(), in SetUp()
155 ASSERT_EQ(steps[1]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
158 ASSERT_EQ(steps[3]->executionStep()->getDevice(), DeviceManager::getCpuDevice()); in TEST_F()
DTestPartitioning.cpp1082 devices.push_back(DeviceManager::getCpuDevice()); in makeDevices()
1471 ASSERT_EQ(planC.forTest_simpleGetDevice(), DeviceManager::getCpuDevice()); in TEST_F()
1752 step1, &model1, DeviceManager::getCpuDevice(), in TEST_F()
1808 ASSERT_EQ(cPNo.getExecutionPlan().forTest_simpleGetDevice(), DeviceManager::getCpuDevice()); in TEST_F()
1823 DeviceManager::getCpuDevice()); in TEST_F()
2694 DeviceManager::getCpuDevice()->getName()); in TEST_F()
2753 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in testIfUnknownSize()
2796 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in testWhileUnknownSize()
DTestPartitioningRandom.cpp1158 devices.push_back(DeviceManager::getCpuDevice()); in TEST_P()
1178 DeviceManager::getCpuDevice()); in TEST_P()
/frameworks/ml/nn/runtime/
DManager.h158 static std::shared_ptr<Device> getCpuDevice();
188 return reinterpret_cast<const Device*>(device) == getCpuDevice().get(); in forTest_isCpuDevice()
DCompilationBuilder.cpp98 mPlan.becomeSingleStep(DeviceManager::getCpuDevice(), mModel); in finish()
DExecutionBuilder.cpp466 DeviceManager::getCpuDevice(), /*preparedModel=*/nullptr); in cpuFallbackFull()
1064 return mDevice == DeviceManager::getCpuDevice(); in isCpu()
1129 mDevice = DeviceManager::getCpuDevice(); in computeOnCpuFallback()
DExecutionPlan.cpp1500 return isSimple() && simple()->mDevice == DeviceManager::getCpuDevice(); in isSimpleCpu()
2013 std::find(devices.begin(), devices.end(), DeviceManager::getCpuDevice()); in findBestDeviceForEachOperation()
2027 (perfVal == bestPerfVal && device == DeviceManager::getCpuDevice())) { in findBestDeviceForEachOperation()
2046 } else if (devices[bestChoice] == DeviceManager::getCpuDevice() && in findBestDeviceForEachOperation()
DManager.cpp815 std::shared_ptr<Device> DeviceManager::getCpuDevice() { in getCpuDevice() function in android::nn::DeviceManager