Skip to content

Commit bfe6bce

Browse files
committed
Minor unrolling tweak.
1 parent dfbd6f8 commit bfe6bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/determinestrategy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function unroll_no_reductions(ls, order, vectorized)
231231
elseif iszero(compute_rt)
232232
4
233233
else
234-
max(1, min(4, round(Int, 2compute_rt / memory_rt)))
234+
max(1, min(4, round(Int, 2compute_rt / load_rt)))
235235
end
236236
# commented out here is to decide to align loops
237237
# if memory_rt > compute_rt && isone(u) && (length(order) > 1) && (last(order) === vectorized) && length(getloop(ls, last(order))) > 8W

0 commit comments

Comments
 (0)