Skip to content

Commit 3fbe248

Browse files
authored
remove debug statements (#521)
1 parent 314beff commit 3fbe248

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/condense_loopset.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ end
938938
@inline check_args(::VectorizationBase.AbstractStridedPointer) = true
939939
@inline function check_args(x)
940940
# @info "`LoopVectorization.check_args(::$(typeof(x))) == false`, therefore compiling a probably slow `@inbounds @fastmath` fallback loop." maxlog=1
941-
@show @__LINE__, typeof(x)
941+
# DEBUG: @show @__LINE__, typeof(x)
942942
false
943943
end
944944
@inline check_args(A, B, C::Vararg{Any,K}) where {K} =
@@ -956,15 +956,15 @@ Returns true if the element type is supported.
956956
"""
957957
@inline check_type(::Type{T}) where {T<:NativeTypes} = true
958958
@inline function check_type(::Type{T}) where {T}
959-
@show @__LINE__, T
960-
false
959+
# DEBUG: @show @__LINE__, T
960+
false
961961
end
962962
@inline check_type(::Type{T}) where {T<:AbstractSIMD} = true
963963
@inline check_device(::ArrayInterface.CPUPointer) = true
964964
@inline check_device(::ArrayInterface.CPUTuple) = true
965965
@inline function check_device(x)
966-
@show @__LINE__, typeof(x)
967-
false
966+
# DEBUG: @show @__LINE__, typeof(x)
967+
false
968968
end
969969

970970
function check_args_call(ls::LoopSet)
@@ -985,7 +985,7 @@ can be used inside a `@turbo` loop.
985985
"""
986986
function can_turbo(f::F, ::Val{NARGS})::Bool where {F,NARGS}
987987
promoted_op = Base.promote_op(f, ntuple(RetVec2Int(), Val(NARGS))...)
988-
promoted_op === Union{} && @show f, NARGS
988+
# DEBUG: promoted_op === Union{} && @show f, NARGS
989989
return promoted_op !== Union{}
990990
end
991991
can_turbo(::typeof(vfmaddsub), ::Val{3}) = true

0 commit comments

Comments
 (0)