Commit cb554127 authored by Pavel Kus's avatar Pavel Kus

if HAVE_DETAILED_TIMINGS is not switched on for autotuning,

time_spent is not initialized. Should be dealt with in a better way
parent 07349d00
......@@ -854,6 +854,8 @@ module elpa_impl
if (ts_impl%i >= 0) then
#ifdef HAVE_DETAILED_TIMINGS
time_spent = self%autotune_timer%get("accumulator")
#else
print *, "Cannot do autotuning without detailed timings"
#endif
if (ts_impl%min_loc == -1 .or. (time_spent < ts_impl%min_val)) then
ts_impl%min_val = time_spent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment