Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c2bf32f4
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c2bf32f4
编写于
11月 29, 2022
作者:
T
tangshihua
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bugfix
Signed-off-by:
N
tangshihua
<
tangshihua@huawei.com
>
上级
f53d6cf4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
28 addition
and
22 deletion
+28
-22
ai/neural_network_runtime/interface/BUILD.gn
ai/neural_network_runtime/interface/BUILD.gn
+14
-11
ai/neural_network_runtime/stability/BUILD.gn
ai/neural_network_runtime/stability/BUILD.gn
+14
-11
未找到文件。
ai/neural_network_runtime/interface/BUILD.gn
浏览文件 @
c2bf32f4
...
@@ -13,8 +13,19 @@
...
@@ -13,8 +13,19 @@
import("//test/xts/tools/build/suite.gni")
import("//test/xts/tools/build/suite.gni")
config("nnrt_config") {
include_dirs = [
"../common",
"//foundation/ai/neural_network_runtime",
"//foundation/ai/neural_network_runtime/third_party/include",
"//third_party/googletest/googletest/include",
"//third_party/googletest/googlemock/include",
"//third_party/mindspore/mindspore/lite/mindir/include",
]
cflags = [ "-Wno-error" ]
}
ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
testonly = true
module_out_path = "acts/nnrt"
module_out_path = "acts/nnrt"
sources = [
sources = [
"../common/mock_idevice.cpp",
"../common/mock_idevice.cpp",
...
@@ -26,14 +37,8 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
...
@@ -26,14 +37,8 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
"src/ModelTest.cpp",
"src/ModelTest.cpp",
]
]
include_dirs = [
configs = [ ":nnrt_config" ]
"../common",
"//foundation/ai/neural_network_runtime",
"//foundation/ai/neural_network_runtime/third_party/include",
"//third_party/googletest/googletest/include",
"//third_party/googletest/googlemock/include",
"//third_party/mindspore/mindspore/lite/mindir/include",
]
deps = [
deps = [
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
"//third_party/googletest:gmock",
"//third_party/googletest:gmock",
...
@@ -53,6 +58,4 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
...
@@ -53,6 +58,4 @@ ohos_moduletest_suite("ActsAiNnrtFunctionTest") {
subsystem_name = "ai"
subsystem_name = "ai"
part_name = "neural_network_runtime"
part_name = "neural_network_runtime"
cflags = [ "-Wno-error" ]
}
}
ai/neural_network_runtime/stability/BUILD.gn
浏览文件 @
c2bf32f4
...
@@ -13,15 +13,7 @@
...
@@ -13,15 +13,7 @@
import("//test/xts/tools/build/suite.gni")
import("//test/xts/tools/build/suite.gni")
ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
config("nnrt_config") {
testonly = true
module_out_path = "acts/nnrt"
sources = [
"../common/mock_idevice.cpp",
"../common/nnrt_utils.cpp",
"src/MultiThreadTest.cpp",
]
include_dirs = [
include_dirs = [
"../common",
"../common",
"//foundation/ai/neural_network_runtime",
"//foundation/ai/neural_network_runtime",
...
@@ -30,6 +22,19 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
...
@@ -30,6 +22,19 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
"//third_party/googletest/googlemock/include",
"//third_party/googletest/googlemock/include",
"//third_party/mindspore/mindspore/lite/mindir/include",
"//third_party/mindspore/mindspore/lite/mindir/include",
]
]
cflags = [ "-Wno-error" ]
}
ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
module_out_path = "acts/nnrt"
sources = [
"../common/mock_idevice.cpp",
"../common/nnrt_utils.cpp",
"src/MultiThreadTest.cpp",
]
configs = [ ":nnrt_config" ]
deps = [
deps = [
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
"//foundation/ai/neural_network_runtime/frameworks:libneural_network_runtime",
"//third_party/googletest:gmock",
"//third_party/googletest:gmock",
...
@@ -49,6 +54,4 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
...
@@ -49,6 +54,4 @@ ohos_moduletest_suite("ActsAiNnrtStabilityTest") {
subsystem_name = "ai"
subsystem_name = "ai"
part_name = "neural_network_runtime"
part_name = "neural_network_runtime"
cflags = [ "-Wno-error" ]
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录