Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_vcluster
Commits
75cebb53
Commit
75cebb53
authored
May 21, 2015
by
incardon
Browse files
Introducing Max operation
parent
2b777ef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VCluster_unit_tests.hpp
View file @
75cebb53
...
...
@@ -112,17 +112,17 @@ BOOST_AUTO_TEST_CASE( VCluster_use_reductions)
if
(
vcl
.
getProcessingUnits
()
<
256
)
vcl
.
max
(
uc_max
);
if
(
vcl
.
getProcessingUnits
()
<
32768
)
vcl
.
reduce
(
s_max
);
vcl
.
max
(
s_max
);
if
(
vcl
.
getProcessingUnits
()
<
65536
)
vcl
.
reduce
(
us_max
);
vcl
.
max
(
us_max
);
if
(
vcl
.
getProcessingUnits
()
<
2147483648
)
vcl
.
reduce
(
i_max
);
vcl
.
max
(
i_max
);
if
(
vcl
.
getProcessingUnits
()
<
4294967296
)
vcl
.
reduce
(
ui_max
);
vcl
.
reduce
(
li_max
);
vcl
.
reduce
(
uli_max
);
vcl
.
reduce
(
f_max
);
vcl
.
reduce
(
d_max
);
vcl
.
max
(
ui_max
);
vcl
.
max
(
li_max
);
vcl
.
max
(
uli_max
);
vcl
.
max
(
f_max
);
vcl
.
max
(
d_max
);
vcl
.
execute
();
if
(
vcl
.
getProcessingUnits
()
<
128
)
...
...
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