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

Preserve data between parallel region #9

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 0 comments
Open

Preserve data between parallel region #9

GoogleCodeExporter opened this issue Aug 6, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Proposed by Marco Danelutto @ HeteroPar 2010

Maybe add a new construct to preserve data on device between parallel regions, 
example:


#pragma omp parallel .... preserve
{
...
}

.... whatever ....

#pragma omp parallel .... 
{
....
}


To implement:

- New clause: preserve
- New conditional on parallel region template:

    {% if not omp_clause.preserve %}
       cudaDelete(....)
    {% endif %}




Original issue reported on code.google.com by namiurtf on 30 Aug 2010 at 10:36

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