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
007ed3d9
Commit
007ed3d9
authored
May 20, 2015
by
incardon
Browse files
Reducing N_TRY to 2
parent
14fef64f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VCluster_unit_tests.hpp
View file @
007ed3d9
...
...
@@ -16,7 +16,7 @@
#define VERBOSE_TEST
#define N_TRY
4
#define N_TRY
2
#define N_LOOP 128
#define BUFF_STEP 524288
...
...
@@ -171,7 +171,7 @@ BOOST_AUTO_TEST_CASE( VCluster_use_sendrecv)
vcl
.
reduce
(
size_send_recv
);
vcl
.
execute
();
if
(
vcl
.
getProcessUnitID
()
==
0
&&
s
==
N_TRY
-
1
)
if
(
vcl
.
getProcessUnitID
()
==
0
)
std
::
cout
<<
"(All to All: )Buffer size: "
<<
(
j
+
1
)
*
BUFF_STEP
<<
" Bandwidth (Average): "
<<
size_send_recv
/
vcl
.
getProcessingUnits
()
/
clk
/
1e6
<<
" MB/s "
<<
" Bandwidth (Total): "
<<
size_send_recv
/
clk
/
1e6
<<
"
\n
"
;
#endif
...
...
@@ -250,7 +250,7 @@ BOOST_AUTO_TEST_CASE( VCluster_use_sendrecv)
vcl
.
execute
();
clk
/=
vcl
.
getProcessingUnits
();
if
(
vcl
.
getProcessUnitID
()
==
0
&&
s
==
N_TRY
-
1
)
if
(
vcl
.
getProcessUnitID
()
==
0
)
std
::
cout
<<
"(Random Pattern: ) Buffer size: "
<<
(
j
+
1
)
*
BUFF_STEP
<<
" Bandwidth (Average): "
<<
size_send_recv
/
vcl
.
getProcessingUnits
()
/
clk
/
1e6
<<
" MB/s "
<<
" Bandwidth (Total): "
<<
size_send_recv
/
clk
/
1e6
<<
" MB/s Clock: "
<<
clk
<<
"
\n
"
;
#endif
...
...
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