Home
last modified time | relevance | path

Searched refs:getCpuDevice (Results 1 – 7 of 7) 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.cpp1072 devices.push_back(DeviceManager::getCpuDevice()); in makeDevices()
1461 ASSERT_EQ(planC.forTest_simpleGetDevice(), DeviceManager::getCpuDevice()); in TEST_F()
1742 step1, &model1, DeviceManager::getCpuDevice(), in TEST_F()
1799 ASSERT_EQ(cPNo.getExecutionPlan().forTest_simpleGetDevice(), DeviceManager::getCpuDevice()); in TEST_F()
1814 DeviceManager::getCpuDevice()); in TEST_F()
2680 DeviceManager::getCpuDevice()->getName()); in TEST_F()
2731 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in TEST_F()
2751 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in TEST_F()
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.cpp468 DeviceManager::getCpuDevice(), /*preparedModel=*/nullptr); in cpuFallbackFull()
1066 return mDevice == DeviceManager::getCpuDevice(); in isCpu()
1131 mDevice = DeviceManager::getCpuDevice(); in computeOnCpuFallback()
DManager.cpp816 std::shared_ptr<Device> DeviceManager::getCpuDevice() { in getCpuDevice() function in android::nn::DeviceManager