Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
939d4dae
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 1 年 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
939d4dae
编写于
6月 04, 2019
作者:
W
wangjiawei04
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
modify BCLOUD
Change-Id: Ib855c3403a92fae024ffcd8fe3954ebb7790c0ea
上级
264cddb6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
1 deletion
+10
-1
.gitignore
.gitignore
+1
-0
demo-client/BCLOUD
demo-client/BCLOUD
+3
-0
kvdb/include/kvdb/kvdb_impl.h
kvdb/include/kvdb/kvdb_impl.h
+6
-1
未找到文件。
.gitignore
浏览文件 @
939d4dae
build
build
.baidu*
.baidu*
.bcloud*
.bcloud*
output
demo-client/BCLOUD
浏览文件 @
939d4dae
...
@@ -19,8 +19,10 @@ INCPATHS('$INC')
...
@@ -19,8 +19,10 @@ INCPATHS('$INC')
INCPATHS
(
'$INC/sdk-cpp'
)
INCPATHS
(
'$INC/sdk-cpp'
)
INCPATHS
(
'$INC/sdk-cpp/include'
)
INCPATHS
(
'$INC/sdk-cpp/include'
)
INCPATHS
(
'$OUT_ROOT/third-64/protobuf/output/include'
)
INCPATHS
(
'$OUT_ROOT/third-64/protobuf/output/include'
)
INCPATHS
(
'../kvdb/include'
)
LIBS
(
'$OUT/lib/libpdconfigure.a'
)
LIBS
(
'$OUT/lib/libpdconfigure.a'
)
LIBS
(
'$OUT/lib/libkvdb.a'
)
CONFIGS
(
'baidu/base/baidu-rpc@ci-base'
)
CONFIGS
(
'baidu/base/baidu-rpc@ci-base'
)
CONFIGS
(
'baidu/third-party/gflags@v2.0.0@git_branch'
)
CONFIGS
(
'baidu/third-party/gflags@v2.0.0@git_branch'
)
...
@@ -48,6 +50,7 @@ HEADERS('include/*.hpp', '$INC/sdk-cpp/include')
...
@@ -48,6 +50,7 @@ HEADERS('include/*.hpp', '$INC/sdk-cpp/include')
Application
(
'ximage'
,
Sources
(
'src/ximage.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'ximage'
,
Sources
(
'src/ximage.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'ximage_press'
,
Sources
(
'src/ximage_press.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'ximage_press'
,
Sources
(
'src/ximage_press.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'echo'
,
Sources
(
'src/echo.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'echo'
,
Sources
(
'src/echo.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'echo_kvdb'
,
Sources
(
'src/echo_kvdb.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'dense_format'
,
Sources
(
'src/dense_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'dense_format'
,
Sources
(
'src/dense_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'sparse_format'
,
Sources
(
'src/sparse_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'sparse_format'
,
Sources
(
'src/sparse_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'int64tensor_format'
,
Sources
(
'src/int64tensor_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
Application
(
'int64tensor_format'
,
Sources
(
'src/int64tensor_format.cpp'
),
WholeArchives
(
'$OUT/lib/libpdsdk-cpp.a'
))
...
...
kvdb/include/kvdb/kvdb_impl.h
浏览文件 @
939d4dae
...
@@ -32,9 +32,10 @@ public:
...
@@ -32,9 +32,10 @@ public:
virtual
void
SetDBName
(
std
::
string
)
=
0
;
virtual
void
SetDBName
(
std
::
string
)
=
0
;
virtual
void
Set
(
std
::
string
key
,
std
::
string
value
)
=
0
;
virtual
void
Set
(
std
::
string
key
,
std
::
string
value
)
=
0
;
virtual
std
::
string
Get
(
std
::
string
key
)
=
0
;
virtual
std
::
string
Get
(
std
::
string
key
)
=
0
;
virtual
~
AbstractKVDB
()
=
0
;
inline
virtual
~
AbstractKVDB
()
=
0
;
};
};
inline
AbstractKVDB
::~
AbstractKVDB
()
{}
// TODO: Implement RedisKVDB
// TODO: Implement RedisKVDB
//class RedisKVDB;
//class RedisKVDB;
...
@@ -53,6 +54,8 @@ protected:
...
@@ -53,6 +54,8 @@ protected:
std
::
chrono
::
system_clock
::
time_point
time_stamp_
;
std
::
chrono
::
system_clock
::
time_point
time_stamp_
;
};
};
inline
AbstractDictReader
::~
AbstractDictReader
()
{}
class
AbstractParamDict
{
class
AbstractParamDict
{
public:
public:
virtual
std
::
vector
<
AbsDictReaderPtr
>
GetDictReaderLst
()
=
0
;
virtual
std
::
vector
<
AbsDictReaderPtr
>
GetDictReaderLst
()
=
0
;
...
@@ -77,6 +80,8 @@ protected:
...
@@ -77,6 +80,8 @@ protected:
AbsKVDBPtr
front_db
,
back_db
;
AbsKVDBPtr
front_db
,
back_db
;
};
};
inline
AbstractParamDict
::~
AbstractParamDict
()
{}
class
ParamDictMgr
{
class
ParamDictMgr
{
public:
public:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录