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
7ee3820b
Commit
7ee3820b
authored
Aug 16, 2016
by
Yaroslav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SGather finished
parent
6c900534
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
src/VCluster_semantic_unit_tests.hpp
src/VCluster_semantic_unit_tests.hpp
+6
-4
No files found.
src/VCluster_semantic_unit_tests.hpp
View file @
7ee3820b
...
...
@@ -203,11 +203,11 @@ BOOST_AUTO_TEST_CASE (Vcluster_semantic_gather_4)
openfpm
::
vector
<
grid_cpu
<
2
,
Point_test
<
float
>>>
v2
;
vcl
.
SGather
(
g1
,
v2
,
2
);
vcl
.
SGather
(
g1
,
v2
,
1
);
typedef
Point_test
<
float
>
p
;
if
(
vcl
.
getProcessUnitID
()
==
2
)
if
(
vcl
.
getProcessUnitID
()
==
1
)
{
size_t
n
=
vcl
.
getProcessingUnits
();
BOOST_REQUIRE_EQUAL
(
v2
.
size
(),
n
);
...
...
@@ -544,7 +544,8 @@ BOOST_AUTO_TEST_CASE (Vcluster_semantic_sendrecv)
vcl
.
SSendRecv
(
v1
,
v3
,
prc_send
,
prc_recv3
,
sz_recv3
);
BOOST_REQUIRE_EQUAL
(
v2
.
size
(),
n_ele
);
BOOST_REQUIRE_EQUAL
(
v3
.
size
(),
vcl
.
getProcessingUnits
()
-
1
-
nc
);
size_t
nc_check
=
(
vcl
.
getProcessingUnits
()
-
1
)
/
SSCATTER_MAX
;
BOOST_REQUIRE_EQUAL
(
v3
.
size
(),
vcl
.
getProcessingUnits
()
-
1
-
nc_check
);
bool
match
=
true
;
size_t
s
=
0
;
...
...
@@ -614,7 +615,8 @@ BOOST_AUTO_TEST_CASE (Vcluster_semantic_struct_sendrecv)
vcl
.
SSendRecv
(
v1
,
v3
,
prc_send
,
prc_recv3
,
sz_recv3
);
BOOST_REQUIRE_EQUAL
(
v2
.
size
(),
n_ele
);
BOOST_REQUIRE_EQUAL
(
v3
.
size
(),
vcl
.
getProcessingUnits
()
-
1
-
nc
);
size_t
nc_check
=
(
vcl
.
getProcessingUnits
()
-
1
)
/
SSCATTER_MAX
;
BOOST_REQUIRE_EQUAL
(
v3
.
size
(),
vcl
.
getProcessingUnits
()
-
1
-
nc_check
);
bool
match
=
true
;
size_t
s
=
0
;
...
...
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