Skip to content

Commit c66a12c

Browse files
committed
Remove unbound arg
1 parent 6fd39a4 commit c66a12c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/map.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ function vmap_singlethread!(
5656
UNROLL = 4
5757
LOG2UNROLL = 2
5858
while i < N - ((W << LOG2UNROLL) - 1)
59-
6059
index = VectorizationBase.Unroll{1,1,UNROLL,1,W,0x0000000000000000}((i,))
6160
v = f(vload.(ptrargs, index)...)
6261
if NonTemporal
@@ -261,9 +260,7 @@ function vmap!(
261260
map!(f, y, arg1, arg2, args...)
262261
end
263262
end
264-
function vmap!(
265-
f::F, y::AbstractArray, arg::AbstractArray
266-
) where {F,A}
263+
function vmap!(f::F, y::AbstractArray, arg::AbstractArray) where {F}
267264
if check_args(y, arg) && all_dense(y, arg)
268265
gc_preserve_vmap!(f, y, Val{false}(), Val{false}(), arg)
269266
else

test/gemm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Unum, Tnum = LoopVectorization.register_count() == 16 ? (2, 6) : (3, 9)
44
Unumt, Tnumt = LoopVectorization.register_count() == 16 ? (2, 6) : (5, 5)
55
if LoopVectorization.register_count() != 8
6-
@test LoopVectorization.matmul_params() == (Unum, Tnum)
6+
@test @inferred(LoopVectorization.matmul_params()) == (Unum, Tnum)
77
end
88
AmulBtq1 = :(for m axes(A,1), n axes(B,2)
99
C[m,n] = zeroB

0 commit comments

Comments
 (0)