Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
magicwindyyd
mindspore
提交
2bc88342
M
mindspore
项目概览
magicwindyyd
/
mindspore
与 Fork 源项目一致
Fork自
MindSpore / mindspore
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
mindspore
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
2bc88342
编写于
7月 28, 2020
作者:
M
mindspore-ci-bot
提交者:
Gitee
7月 28, 2020
浏览文件
操作
浏览文件
下载
差异文件
!3569 Fix minddata cache include flatbuffer head problem
Merge pull request !3569 from xiefangqi/md_fix_flat_head
上级
d469a347
58210c78
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
4 deletion
+6
-4
mindspore/ccsrc/minddata/dataset/CMakeLists.txt
mindspore/ccsrc/minddata/dataset/CMakeLists.txt
+3
-1
mindspore/ccsrc/minddata/dataset/engine/cache/cache_client.h
mindspore/ccsrc/minddata/dataset/engine/cache/cache_client.h
+1
-1
mindspore/ccsrc/minddata/dataset/engine/cache/cache_request.h
...spore/ccsrc/minddata/dataset/engine/cache/cache_request.h
+1
-1
mindspore/ccsrc/minddata/dataset/engine/cache/cache_service.h
...spore/ccsrc/minddata/dataset/engine/cache/cache_service.h
+1
-1
未找到文件。
mindspore/ccsrc/minddata/dataset/CMakeLists.txt
浏览文件 @
2bc88342
...
...
@@ -47,7 +47,9 @@ include_directories(${CMAKE_SOURCE_DIR}/mindspore/ccsrc/minddata/dataset/include
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wl,-rpath,$ORIGIN:$ORIGIN/lib"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fvisibility=default"
)
ms_build_flatbuffers
(
"engine/cache/de_tensor.fbs"
${
CMAKE_CURRENT_SOURCE_DIR
}
generated_engine_files
${
CMAKE_BINARY_DIR
}
)
include_directories
(
"
${
CMAKE_BINARY_DIR
}
/minddata/dataset/engine/cache"
)
set
(
MD_FLATBUFFER_OU
"
${
CMAKE_BINARY_DIR
}
/minddata/dataset/engine/cache"
)
ms_build_flatbuffers
(
"engine/cache/de_tensor.fbs"
${
CMAKE_CURRENT_SOURCE_DIR
}
generated_engine_files
${
MD_FLATBUFFER_OU
}
)
################## Include sub-modules ###############################
add_subdirectory
(
util
)
...
...
mindspore/ccsrc/minddata/dataset/engine/cache/cache_client.h
浏览文件 @
2bc88342
...
...
@@ -23,9 +23,9 @@
#include <utility>
#include <vector>
#include "./de_tensor_generated.h"
#include "minddata/dataset/engine/data_buffer.h"
#include "minddata/dataset/engine/cache/cache_server.h"
#include "minddata/dataset/engine/cache/de_tensor_generated.h"
#include "minddata/dataset/util/lock.h"
namespace
mindspore
{
...
...
mindspore/ccsrc/minddata/dataset/engine/cache/cache_request.h
浏览文件 @
2bc88342
...
...
@@ -23,8 +23,8 @@
#include <utility>
#include <vector>
#include "./de_tensor_generated.h"
#include "minddata/dataset/core/tensor_row.h"
#include "minddata/dataset/engine/cache/de_tensor_generated.h"
#include "minddata/dataset/util/slice.h"
#include "minddata/dataset/util/wait_post.h"
...
...
mindspore/ccsrc/minddata/dataset/engine/cache/cache_service.h
浏览文件 @
2bc88342
...
...
@@ -25,10 +25,10 @@
#include <utility>
#include <vector>
#include "./de_tensor_generated.h"
#include "minddata/dataset/core/global_context.h"
#include "minddata/dataset/core/tensor.h"
#include "minddata/dataset/engine/cache/cache_request.h"
#include "minddata/dataset/engine/cache/de_tensor_generated.h"
#include "minddata/dataset/util/arena.h"
#include "minddata/dataset/util/btree.h"
#include "minddata/dataset/util/cache_pool.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录