Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
9ff2e086
Commit
9ff2e086
authored
2 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Rename externally visible function.
parent
03988d32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!91
Add alternative code path for huge buffers.
,
!89
Miscellaneous fixes and CDI-PIO improvements
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/pio_interface.c
+2
-1
2 additions, 1 deletion
src/pio_interface.c
src/pio_rpc.c
+1
-1
1 addition, 1 deletion
src/pio_rpc.c
src/pio_rpc.h
+2
-1
2 additions, 1 deletion
src/pio_rpc.h
src/pio_server.c
+6
-4
6 additions, 4 deletions
src/pio_server.c
with
11 additions
and
7 deletions
src/pio_interface.c
+
2
−
1
View file @
9ff2e086
...
...
@@ -189,7 +189,8 @@ cdiPioClientStreamWinCreate(int streamID, struct collSpec *cspec)
* platforms that block the servers in MPI_Win_complete
*/
collWaitAll
();
struct
clientBufSize
bufSize
=
computeClientStreamBufSize
(
streamID
,
cspec
);
struct
clientBufSize
bufSize
=
cdiPioClientStreamBufSize
(
streamID
,
cspec
);
MPI_Info
no_locks_info
;
xmpi
(
MPI_Info_create
(
&
no_locks_info
));
xmpi
(
MPI_Info_set
(
no_locks_info
,
"no_locks"
,
"true"
));
...
...
This diff is collapsed.
Click to expand it.
src/pio_rpc.c
+
1
−
1
View file @
9ff2e086
...
...
@@ -33,7 +33,7 @@ cdiPioVlistInqVarSize(int vlistID, int varID)
}
struct
clientBufSize
c
ompute
ClientStreamBufSize
(
int
streamID
,
const
struct
collSpec
*
collector
)
c
diPio
ClientStreamBufSize
(
int
streamID
,
const
struct
collSpec
*
collector
)
{
/* 1 record is filled in last to indicate number of records in total */
struct
clientBufSize
rmaSizeSpec
=
{
.
bufSize
=
sizeof
(
struct
winHeaderEntry
),
.
numDataRecords
=
1
,
.
numRPCRecords
=
0
};
...
...
This diff is collapsed.
Click to expand it.
src/pio_rpc.h
+
2
−
1
View file @
9ff2e086
...
...
@@ -137,7 +137,8 @@ struct collSpec
bool
sendRPCData
;
};
struct
clientBufSize
computeClientStreamBufSize
(
int
streamID
,
const
struct
collSpec
*
collector
);
struct
clientBufSize
cdiPioClientStreamBufSize
(
int
streamID
,
const
struct
collSpec
*
collector
);
struct
partDescPreset
{
...
...
This diff is collapsed.
Click to expand it.
src/pio_server.c
+
6
−
4
View file @
9ff2e086
...
...
@@ -2039,10 +2039,11 @@ cdiPioRecvStreamDefVlist(void *buffer, int size, int *pos, MPI_Comm pioInterComm
{
collectorData
.
partDesc
=
NULL
;
collectorData
.
conversion
=
NULL
;
bufSizes
[
0
]
=
c
ompute
ClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
bufSizes
[
0
]
=
c
diPio
ClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
collectorData
.
sendRPCData
=
0
;
for
(
size_t
clientIdx
=
1
;
clientIdx
<
(
size_t
)
numClients_
;
++
clientIdx
)
bufSizes
[
clientIdx
]
=
computeClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
for
(
size_t
clientIdx
=
1
;
clientIdx
<
(
size_t
)
numClients_
;
++
clientIdx
)
bufSizes
[
clientIdx
]
=
cdiPioClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
}
else
/* tag == STREAM_DEF_DECOMPOSED_VLIST */
{
...
...
@@ -2079,7 +2080,8 @@ cdiPioRecvStreamDefVlist(void *buffer, int size, int *pos, MPI_Comm pioInterComm
remainingSize
-=
clientPos
;
*
pos
+=
clientPos
;
collectorData
.
partDesc
=
clientPartDesc
;
bufSizes
[
clientIdx
]
=
computeClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
bufSizes
[
clientIdx
]
=
cdiPioClientStreamBufSize
(
serverStreamID
,
&
collectorData
);
collectorData
.
sendRPCData
=
0
;
}
Free
(
clientPartDesc
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment