Commit cb554127 authored by Pavel Kus's avatar Pavel Kus
Browse files

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
time_spent = self%autotune_timer%get("accumulator")
print *, "Cannot do autotuning without detailed timings"
if (ts_impl%min_loc == -1 .or. (time_spent < ts_impl%min_val)) then
ts_impl%min_val = time_spent
Supports Markdown
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