This leads to the failure of test/execution.jl testset "varargs":
@testset "varargs" begin
function kernel(args...)
VectorEngine.@veprint(args[2])
return
end
_, out = @grab_output begin
@veda kernel(1, 2, 3)
synchronize()
end
@test out == "2"
end
The out content is always the empty string "". The correct output (2) is printed on the console.