Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_vcluster
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argupta
openfpm_vcluster
Commits
a9991812
Commit
a9991812
authored
Aug 20, 2017
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Coverity + documentation
parent
046f18aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
src/MPI_wrapper/MPI_IrecvW.hpp
src/MPI_wrapper/MPI_IrecvW.hpp
+11
-12
No files found.
src/MPI_wrapper/MPI_IrecvW.hpp
View file @
a9991812
...
...
@@ -9,20 +9,19 @@
* The purpose of these classes is to correctly choose the right call based on the type we want to receive
*
*/
/*! \brief General recv for general buffer
*
* \param proc processor from which to receive
* \param tag
* \param buf buffer where to store the data
* \param sz size to receive
* \param req MPI request
*
*/
class
MPI_IrecvWB
{
public:
/*! \brief General recv for general buffer
*
* \param proc processor from which to receive
* \param tag
* \param buf buffer where to store the data
* \param sz size to receive
* \param req MPI request
*
*/
static
inline
void
recv
(
size_t
proc
,
size_t
tag
,
void
*
buf
,
size_t
sz
,
MPI_Request
&
req
)
{
MPI_SAFE_CALL
(
MPI_Irecv
(
buf
,
sz
,
MPI_BYTE
,
proc
,
tag
,
MPI_COMM_WORLD
,
&
req
));
...
...
@@ -137,7 +136,7 @@ template<> class MPI_IrecvW<long int>
public:
static
inline
void
recv
(
size_t
proc
,
size_t
tag
,
openfpm
::
vector
<
long
int
>
&
v
,
MPI_Request
&
req
)
{
MPI_
Irecv
(
v
.
getPointer
(),
v
.
size
(),
MPI_LONG
,
proc
,
tag
,
MPI_COMM_WORLD
,
&
req
);
MPI_
SAFE_CALL
(
MPI_Irecv
(
v
.
getPointer
(),
v
.
size
(),
MPI_LONG
,
proc
,
tag
,
MPI_COMM_WORLD
,
&
req
)
);
}
};
...
...
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