Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bake
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
bake
Commits
2ce9cf1d
Commit
2ce9cf1d
authored
Dec 06, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update write ult to use given bulk size, offset
parent
28694799
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
src/bake-bulk-server.c
src/bake-bulk-server.c
+2
-5
No files found.
src/bake-bulk-server.c
View file @
2ce9cf1d
...
...
@@ -163,7 +163,6 @@ static void bake_bulk_write_ult(hg_handle_t handle)
hg_return_t
hret
;
hg_addr_t
src_addr
;
char
*
buffer
;
hg_size_t
size
;
hg_bulk_t
bulk_handle
;
const
struct
hg_info
*
hgi
;
margo_instance_id
mid
;
...
...
@@ -199,10 +198,8 @@ static void bake_bulk_write_ult(hg_handle_t handle)
return
;
}
size
=
margo_bulk_get_size
(
in
.
bulk_handle
);
/* create bulk handle for local side of transfer */
hret
=
margo_bulk_create
(
mid
,
1
,
(
void
**
)(
&
buffer
),
&
size
,
hret
=
margo_bulk_create
(
mid
,
1
,
(
void
**
)(
&
buffer
),
&
in
.
bulk_
size
,
HG_BULK_WRITE_ONLY
,
&
bulk_handle
);
if
(
hret
!=
HG_SUCCESS
)
{
...
...
@@ -234,7 +231,7 @@ static void bake_bulk_write_ult(hg_handle_t handle)
}
hret
=
margo_bulk_transfer
(
mid
,
HG_BULK_PULL
,
src_addr
,
in
.
bulk_handle
,
0
,
bulk_handle
,
0
,
size
);
in
.
bulk_offset
,
bulk_handle
,
0
,
in
.
bulk_
size
);
if
(
hret
!=
HG_SUCCESS
)
{
out
.
ret
=
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment