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
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
88038776
Commit
88038776
authored
May 25, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding barrier
parent
a9991812
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
src/VCluster/VCluster.hpp
src/VCluster/VCluster.hpp
+9
-0
src/VCluster/VCluster_meta_function.hpp
src/VCluster/VCluster_meta_function.hpp
+1
-1
No files found.
src/VCluster/VCluster.hpp
View file @
88038776
...
...
@@ -439,6 +439,15 @@ class Vcluster: public Vcluster_base
return
true
;
}
/*! \brief Just a call to mpi_barrier
*
*
*/
void
barrier
()
{
MPI_Barrier
(
MPI_COMM_WORLD
);
}
/*! \brief Semantic Scatter, scatter the data from one processor to the other node
*
* Semantic communication differ from the normal one. They in general
...
...
src/VCluster/VCluster_meta_function.hpp
View file @
88038776
...
...
@@ -55,7 +55,7 @@ struct unpack_selector_with_prp<true,T,S>
template
<
typename
op
,
unsigned
int
...
prp
>
static
void
call_unpack
(
S
&
recv
,
openfpm
::
vector
<
BHeapMemory
>
&
recv_buf
,
openfpm
::
vector
<
size_t
>
*
sz
,
openfpm
::
vector
<
size_t
>
*
sz_byte
,
op
&
op_param
)
{
if
(
sz_byte
!=
NULL
)
sz_byte
->
resize
(
recv_buf
.
size
());
{
sz_byte
->
resize
(
recv_buf
.
size
());}
for
(
size_t
i
=
0
;
i
<
recv_buf
.
size
()
;
i
++
)
{
...
...
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