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

Asynchronous (non-blocking) compilation of multiple stencils #83

Open
tehrengruber opened this issue Jul 17, 2020 · 1 comment · May be fixed by #1242
Open

Asynchronous (non-blocking) compilation of multiple stencils #83

tehrengruber opened this issue Jul 17, 2020 · 1 comment · May be fixed by #1242
Labels
gt4py.cartesian Issues concerning the current version with support only for cartesian grids. module: frontend Frontend subpackage triage: enhancement New feature or request
Projects

Comments

@tehrengruber
Copy link
Contributor

tehrengruber commented Jul 17, 2020

A possible implementation strategy could be to return a proxy StencilObject with a concurrent.future inside. The first time that any attribute is accessed (_getattr_) wait for the completion of the future and load the actual stencil object (similar to JAX arrays implementation).

Notes: check if workarounds modifying setuptools objects to compile CUDA code still work when different stencils at compile simultaenously.

@tehrengruber tehrengruber added this to Backlog in GT4Py Development via automation Jul 17, 2020
GT4Py Development automation moved this from Backlog to Done Jul 17, 2020
@tehrengruber tehrengruber reopened this Jul 17, 2020
GT4Py Development automation moved this from Done to To do Jul 17, 2020
@tehrengruber tehrengruber removed this from To do in GT4Py Development Jul 17, 2020
@tehrengruber tehrengruber added this to Backlog in GridTools via automation Jul 17, 2020
@egparedes egparedes changed the title Parallel/non-blocking compilation of multiple stencils Asynchronoous (non-blocking) compilation of multiple stencils Aug 6, 2020
@egparedes egparedes added module: frontend Frontend subpackage triage: enhancement New feature or request and removed jira relocation labels Aug 6, 2020
@egparedes egparedes changed the title Asynchronoous (non-blocking) compilation of multiple stencils Asynchronous (non-blocking) compilation of multiple stencils Aug 6, 2020
@egparedes
Copy link
Contributor

Implementation strategy might be affected (or not) by refactoring done in #134

@egparedes egparedes removed their assignment Aug 7, 2020
@egparedes egparedes moved this from Backlog to BackBackLog in GridTools Aug 19, 2020
@gronerl gronerl added the gt4py.cartesian Issues concerning the current version with support only for cartesian grids. label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gt4py.cartesian Issues concerning the current version with support only for cartesian grids. module: frontend Frontend subpackage triage: enhancement New feature or request
Projects
GridTools
  
BackBackLog
Development

Successfully merging a pull request may close this issue.

3 participants