Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/hdi_device/
H A Dhdi_device_test.cpp100 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 …]
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dhdi_device_v1_0.cpp90 HDIDeviceV1_0::HDIDeviceV1_0(OHOS::sptr<V1_0::INnrtDevice> device) : m_iDevice(device) in HDIDeviceV1_0() function in OHOS::NeuralNetworkRuntime::HDIDeviceV1_0
93 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 …]
H A Dregister_hdi_device_v1_0.cpp60 std::shared_ptr<Device> device = CreateSharedPtr<HDIDeviceV1_0>(iDevice); in HDIDeviceV1_0Creator()
73 REGISTER_BACKEND(HDIDeviceV1_0, HDIDeviceV1_0Creator)
H A Dhdi_device_v1_0.h29 class HDIDeviceV1_0 : public Device {
31 explicit HDIDeviceV1_0(OHOS::sptr<V1_0::INnrtDevice> device);
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/common/v1_0/
H A Dcompilation_mock_idevice.cpp25 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()
H A Dexecutor_mock_device.cpp25 void* HDIDeviceV1_0::AllocateBuffer(size_t length) in AllocateBuffer()
46 OH_NN_ReturnCode HDIDeviceV1_0::ReleaseBuffer(const void* buffer) in ReleaseBuffer()
H A Dinner_model_mock_device.cpp36 OH_NN_ReturnCode HDIDeviceV1_0::GetSupportedOperation(std::shared_ptr<const mindspore::lite::LiteGr… in GetSupportedOperation()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp28 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()