Skip to content

Commit c67d5f7

Browse files
committed
Fix evaluate_cost_unroll
1 parent 2d86397 commit c67d5f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modeling/determinestrategy.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function evaluate_cost_unroll(
160160
# it must also be a subset of defined symbols
161161
loopdependencies(op) nested_loop_syms || continue
162162
# hasintersection(reduceddependencies(op), nested_loop_syms) && return Inf
163-
(isassigned(sld, id) && any(s -> (s sld[id]), nested_loop_syms)) && return 0,0,Inf,false
163+
(isassigned(sld, id) && any(s -> (s sld[id]), nested_loop_syms)) && return Inf
164164
included_vars[id] = true
165165
# TODO: use actual unrolls here?
166166
c = first(cost(ls, op, (Symbol(""),Symbol("")), vloopsym, Wshift, size_T))

0 commit comments

Comments
 (0)