Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
3d10a54a
Commit
3d10a54a
authored
Jul 17, 2018
by
Pavel Kus
Browse files
buffer size for Cannons algorithm can be set
parent
d1af940e
Changes
2
Show whitespace changes
Inline
Side-by-side
src/elpa_impl_generalized_transform_template.F90
View file @
3d10a54a
...
...
@@ -68,10 +68,7 @@
end
if
if
(
use_cannon
==
1
)
then
!TODO set the value properly
!TODO tunable parameter?
BuffLevelInt
=
1
call
self
%
get
(
"cannon_buffer_size"
,
BuffLevelInt
,
error
)
call
self
%
timer_start
(
"cannons_reduction"
)
! BEWARE! even though tmp is output from the routine, it has to be zero on input!
tmp
=
0.0_rck
...
...
src/elpa_index.c
View file @
3d10a54a
...
...
@@ -211,6 +211,9 @@ static const elpa_index_int_entry_t int_entries[] = {
INT_ENTRY
(
"omp_threads"
,
"OpenMP threads used in ELPA, default 1"
,
1
,
ELPA_AUTOTUNE_NOT_TUNABLE
,
ELPA_AUTOTUNE_DOMAIN_ANY
,
omp_threads_cardinality
,
omp_threads_enumerate
,
omp_threads_is_valid
,
NULL
),
#endif
INT_ENTRY
(
"cannon_buffer_size"
,
"Increasing the buffer size might make it faster, but costs memory"
,
0
,
ELPA_AUTOTUNE_NOT_TUNABLE
,
ELPA_AUTOTUNE_DOMAIN_ANY
,
NULL
,
NULL
,
NULL
,
NULL
),
//cannon_buffer_size_cardinality, cannon_buffer_size_enumerate, cannon_buffer_size_is_valid, NULL),
//BOOL_ENTRY("qr", "Use QR decomposition, only used for ELPA_SOLVER_2STAGE, real case", 0, ELPA_AUTOTUNE_MEDIUM, ELPA_AUTOTUNE_DOMAIN_REAL),
BOOL_ENTRY
(
"qr"
,
"Use QR decomposition, only used for ELPA_SOLVER_2STAGE, real case"
,
0
,
ELPA_AUTOTUNE_NOT_TUNABLE
,
ELPA_AUTOTUNE_DOMAIN_REAL
),
BOOL_ENTRY
(
"timings"
,
"Enable time measurement"
,
0
,
ELPA_AUTOTUNE_NOT_TUNABLE
,
0
),
...
...
Write
Preview
Supports
Markdown
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