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
943943end
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
961961end
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
968968end
969969
970970function check_args_call (ls:: LoopSet )
@@ -985,7 +985,7 @@ can be used inside a `@turbo` loop.
985985"""
986986function 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{}
990990end
991991can_turbo (:: typeof (vfmaddsub), :: Val{3} ) = true
0 commit comments