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

Implement a way to avoid part of code (claw ignore) #31

Closed
clementval opened this issue Aug 11, 2016 · 0 comments
Closed

Implement a way to avoid part of code (claw ignore) #31

clementval opened this issue Aug 11, 2016 · 0 comments
Assignees

Comments

@clementval
Copy link
Collaborator

clementval commented Aug 11, 2016

It can be useful to work around bug or not implemented feature in OMNI compiler or CLAW to have a way to ignore portion of code.

MODULE xyz

CONTAINS
  SUBROUTINE test
    !$claw ignore
    FORALL (i=1:ni, j=1:nj, k=1:nk)
      ! other statements
    END FORALL
    !$claw end ignore
  END SUBROUTINE

END MODULE

The part between !$claw ignore and !$claw end ignore is then ignored during the parsing / transformation / decompilation phases but stay in the transformed code at the same place.

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

No branches or pull requests

1 participant