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
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_vcluster
Commits
519291ae
Commit
519291ae
authored
Nov 24, 2018
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing Vcluster for new layout
parent
ee76c91c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/VCluster/VCluster.hpp
src/VCluster/VCluster.hpp
+4
-1
src/VCluster/VCluster_semantic_unit_tests.hpp
src/VCluster/VCluster_semantic_unit_tests.hpp
+7
-1
No files found.
src/VCluster/VCluster.hpp
View file @
519291ae
...
...
@@ -631,7 +631,10 @@ class Vcluster: public Vcluster_base<InternalMemory>
for
(
size_t
i
=
0
;
i
<
rcv
.
size
()
;
i
++
)
{
rcv
.
get
(
i
).
proc
=
prc
.
get
(
i
);
rcv
.
get
(
i
).
tag
=
tags
.
get
(
i
);
if
(
i
<
tags
.
size
())
{
rcv
.
get
(
i
).
tag
=
tags
.
get
(
i
);}
else
{
rcv
.
get
(
i
).
tag
=
(
unsigned
int
)
-
1
;}
rcv
.
get
(
i
).
pos
=
i
;
}
...
...
src/VCluster/VCluster_semantic_unit_tests.hpp
View file @
519291ae
...
...
@@ -273,6 +273,9 @@ BOOST_AUTO_TEST_CASE (Vcluster_semantic_gather_5)
{
Vcluster
<>
&
vcl
=
create_vcluster
();
if
(
vcl
.
size
()
==
1
)
{
return
;}
if
(
vcl
.
getProcessingUnits
()
>=
32
)
{
return
;}
...
...
@@ -843,7 +846,10 @@ BOOST_AUTO_TEST_CASE (Vcluster_semantic_sendrecv_receive_size_known)
for
(
size_t
i
=
0
;
i
<
v1
.
size
()
;
i
++
)
{
if
(
i
%
SSCATTER_MAX
==
0
)
{
prc_recv2
.
add
((
i
+
vcl
.
getProcessUnitID
())
%
vcl
.
getProcessingUnits
());}
{
prc_recv2
.
add
((
i
+
vcl
.
getProcessUnitID
())
%
vcl
.
getProcessingUnits
());
sz_recv2
.
add
(
0
);
}
}
// We reset v2 and we receive again saying that the processors are known and we know the elements
...
...
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