Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing annotations about whether synchronizations occure in a function #20

Open
bastian-koepcke opened this issue Apr 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bastian-koepcke
Copy link
Member

Function signatures must represent whether the function contains a barrier synchronization or which execution resource accessed place expressions that are arguments of the function.

Example

fn f(in: T1, out: T2) -[x: ExecLevel]-> T3 where unsync(x -> out)

The exact details of what the annotation should contain, especially what the accessed place expression should look like, must still be determined.

The information is then used to type check function application, where the annotation is substitued with the values for the calling execution resource and the input arguments (how to deal with non-place expressions as input arguments?)

@bastian-koepcke bastian-koepcke added the bug Something isn't working label Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant