Searched refs:CpuDevice (Results 1 – 1 of 1) sorted by relevance
548 class CpuDevice : public Device { class551 static std::shared_ptr<CpuDevice> get() { in get()552 static std::shared_ptr<CpuDevice> instance(new CpuDevice); in get()585 CpuDevice() = default;603 const Device* getDevice() const override { return CpuDevice::get().get(); } in getDevice()636 std::vector<bool> CpuDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()651 std::pair<int, std::shared_ptr<PreparedModel>> CpuDevice::prepareModel( in prepareModel()670 std::pair<int, std::unique_ptr<Memory>> CpuDevice::allocate(const MemoryDescriptor& desc, in allocate()816 return CpuDevice::get(); in getCpuDevice()841 mDevices.push_back(CpuDevice::get()); in findAvailableDevices()[all …]