Skip to content

NewRadX: Fix reads and writes in emited schedule #63

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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