Skip to content

Commit dab8c8f

Browse files
committed
Add convert to table
1 parent f2e6038 commit dab8c8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modeling/costs.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,8 @@ const COST = Dict{Symbol,InstructionCost}(
266266
:prefetch => InstructionCost(0,0.0,0.0,0),
267267
:prefetch0 => InstructionCost(0,0.0,0.0,0),
268268
:prefetch1 => InstructionCost(0,0.0,0.0,0),
269-
:prefetch2 => InstructionCost(0,0.0,0.0,0)
269+
:prefetch2 => InstructionCost(0,0.0,0.0,0),
270+
:convert => InstructionCost(4,0.5)
270271
)
271272
@inline prefetch0(x, i) = VectorizationBase.prefetch(gep(stridedpointer(x), (data(i),)), Val{3}(), Val{0}())
272273
@inline prefetch0(x, I::Tuple) = VectorizationBase.prefetch(gep(stridedpointer(x), data.(I)), Val{3}(), Val{0}())

0 commit comments

Comments
 (0)