Skip to content

NewRadX: Fix reads and writes in emited schedule #63

@lucass-carneiro

Description

@lucass-carneiro

Currently, given a variable u and its RHS u_rhs, in which NewRadX is applied, we emit schedule statements such as

SCHEDULE NewRadXBoundaryFn_0 IN Foo AFTER Bar
{    
    LANG: C
    Reads: u(Interior)
    Writes: u_rhs(Interior)
} "Desc"

Due to how NewRadX_Apply works, we need to emit

SCHEDULE NewRadXBoundaryFn_0 IN Foo AFTER Bar
{    
    LANG: C
    Reads: u(Interior)
    Reads: u_rhs(Interior)
    Writes: u_rhs(Interior)
} "Desc"

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