!113 nnrt服务编译不通过

Merge pull request !113 from goutong/master
This commit is contained in:
openharmony_ci 2024-02-29 01:43:47 +00:00 committed by Gitee
commit 47640be376
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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"