I have a very simple function

immutable TypeConst{T} end
 
function innerloop!{T, M}(dest::Vector{T}, dest_ofs, src::Vector{T}, src_ofs
, ::TypeConst{M})
@simd for i=1:M
 @inbounds dest[i + dest_ofs] $= src[i + src_ofs]
 end 
end



Reply via email to