nnrt服务起不来

Signed-off-by: gWX1231951 <goutong1@h-partners.com>
This commit is contained in:
gWX1231951 2024-02-28 14:55:38 +08:00
parent bdd4188486
commit 4b590577ab
3 changed files with 6 additions and 5 deletions

View File

@ -213,8 +213,9 @@ AI芯片设备HDI服务开发者具体可通过以下步骤实现AI专用加速
"components": [
"c_utils",
"hdf_core",
"hilog_native",
"ipc"
"hilog",
"ipc",
"drivers_interface_nnrt"
],
"third_part": [
"bounds_checking_function"
@ -464,6 +465,6 @@ rm -rf ./out
mkdir drivers/peripheral/nnrt/v2_0/mindspore/mindspore
# 从out目录将mindspore动态库拷贝到drivers/peripheral/nnrt/v2_0/mindspore/mindspore下
cp out/rk3568/package/phone/system/lib/libmindspore-lite.huawei.so drivers/peripheral/nnrt/v2_0/mindspore/mindspore/
cp out/rk3568/package/phone/system/lib/libmindspore-lite.so drivers/peripheral/nnrt/v2_0/mindspore/mindspore/
```
4. 其他配置请参考本教程上面的[开发步骤](#开发步骤)章节。

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_prebuilt_shared_library("mindspore_demo") {
source = "../mindspore/mindspore/libmindspore-lite.huawei.so"
source = "../mindspore/mindspore/libmindspore-lite.so"
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_nnrt"

View File

@ -15,7 +15,7 @@ import("//build/ohos.gni")
import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni")
ohos_prebuilt_shared_library("mindspore_demo") {
source = "../mindspore/mindspore/libmindspore-lite.huawei.so"
source = "../mindspore/mindspore/libmindspore-lite.so"
install_images = [ chipset_base_dir ]
subsystem_name = "hdf"
part_name = "drivers_peripheral_nnrt"