Home
last modified time | relevance | path

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

/aosp12/packages/modules/NeuralNetworks/runtime/
H A DManager.cpp828 class CpuDevice : public Device { class
831 static std::shared_ptr<CpuDevice> get() { in get()
832 static std::shared_ptr<CpuDevice> instance(new CpuDevice); in get()
872 CpuDevice() = default;
895 const Device* getDevice() const override { return CpuDevice::get().get(); } in getDevice()
965 std::vector<bool> CpuDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
979 std::pair<int, std::shared_ptr<RuntimePreparedModel>> CpuDevice::prepareModel( in prepareModel()
1006 std::pair<int, std::unique_ptr<RuntimeMemory>> CpuDevice::allocate(const MemoryDescriptor& desc, in allocate()
1225 return CpuDevice::get(); in getCpuDevice()
1276 mDevices.push_back(CpuDevice::get()); in findAvailableDevices()
[all …]