Searched refs:HDIDeviceV1_0 (Results 1 – 8 of 8) sorted by relevance
100 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(sp); in PrepareModel()129 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);141 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);162 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);179 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);200 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);218 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);239 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(device);826 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(sp);854 std::unique_ptr<HDIDeviceV1_0> hdiDevice = std::make_unique<HDIDeviceV1_0>(sp);[all …]
90 HDIDeviceV1_0::HDIDeviceV1_0(OHOS::sptr<V1_0::INnrtDevice> device) : m_iDevice(device) in HDIDeviceV1_0() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_093 OH_NN_ReturnCode HDIDeviceV1_0::GetDeviceName(std::string& name) in GetDeviceName()103 OH_NN_ReturnCode HDIDeviceV1_0::GetVendorName(std::string& name) in GetVendorName()113 OH_NN_ReturnCode HDIDeviceV1_0::GetVersion(std::string& version) in GetVersion()137 OH_NN_ReturnCode HDIDeviceV1_0::GetDeviceStatus(DeviceStatus& status) in GetDeviceStatus()210 OH_NN_ReturnCode HDIDeviceV1_0::IsPrioritySupported(bool& isSupported) in IsPrioritySupported()294 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModel(const void* metaGraph, in PrepareModel()338 void* HDIDeviceV1_0::AllocateBuffer(size_t length) in AllocateBuffer()361 OH_NN_ReturnCode HDIDeviceV1_0::AllocateBuffer(size_t length, int& fd) in AllocateBuffer()379 OH_NN_ReturnCode HDIDeviceV1_0::ReleaseBuffer(int fd, size_t length) in ReleaseBuffer()[all …]
60 std::shared_ptr<Device> device = CreateSharedPtr<HDIDeviceV1_0>(iDevice); in HDIDeviceV1_0Creator()73 REGISTER_BACKEND(HDIDeviceV1_0, HDIDeviceV1_0Creator)
29 class HDIDeviceV1_0 : public Device {31 explicit HDIDeviceV1_0(OHOS::sptr<V1_0::INnrtDevice> device);
25 OH_NN_ReturnCode HDIDeviceV1_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported()45 OH_NN_ReturnCode HDIDeviceV1_0::GetSupportedOperation(std::shared_ptr<const mindspore::lite::LiteGr… in GetSupportedOperation()69 OH_NN_ReturnCode HDIDeviceV1_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported()87 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported()105 OH_NN_ReturnCode HDIDeviceV1_0::IsPrioritySupported(bool& isSupported) in IsPrioritySupported()123 OH_NN_ReturnCode HDIDeviceV1_0::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported()141 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> mode… in PrepareModel()193 void* HDIDeviceV1_0::AllocateBuffer(size_t length) in AllocateBuffer()213 OH_NN_ReturnCode HDIDeviceV1_0::ReleaseBuffer(const void* buffer) in ReleaseBuffer()225 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModelFromModelCache(const std::vector<Buffer>& modelCache, in PrepareModelFromModelCache()
25 void* HDIDeviceV1_0::AllocateBuffer(size_t length) in AllocateBuffer()46 OH_NN_ReturnCode HDIDeviceV1_0::ReleaseBuffer(const void* buffer) in ReleaseBuffer()
36 OH_NN_ReturnCode HDIDeviceV1_0::GetSupportedOperation(std::shared_ptr<const mindspore::lite::LiteGr… in GetSupportedOperation()
28 OH_NN_ReturnCode HDIDeviceV1_0::PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> mode… in PrepareModel()50 OH_NN_ReturnCode HDIDeviceV1_0::GetDeviceType(OH_NN_DeviceType& deviceType) in GetDeviceType()59 OH_NN_ReturnCode HDIDeviceV1_0::IsModelCacheSupported(bool& isSupported) in IsModelCacheSupported()65 OH_NN_ReturnCode HDIDeviceV1_0::IsPerformanceModeSupported(bool& isSupported) in IsPerformanceModeSupported()71 OH_NN_ReturnCode HDIDeviceV1_0::IsPrioritySupported(bool& isSupported) in IsPrioritySupported()77 OH_NN_ReturnCode HDIDeviceV1_0::IsFloat16PrecisionSupported(bool& isSupported) in IsFloat16PrecisionSupported()83 OH_NN_ReturnCode HDIDeviceV1_0::GetSupportedOperation(std::shared_ptr<const mindspore::lite::LiteGr… in GetSupportedOperation()95 OH_NN_ReturnCode HDIDeviceV1_0::IsDynamicInputSupported(bool& isSupported) in IsDynamicInputSupported()