Skip to content

VE kernels stdout isn't redirected #6

@efocht

Description

@efocht

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions