inducer / inducer/loopy

Only allocate global temporaries for their live ranges in invoker

Open
#931 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
636
Forks
81
Avg merge
1d 19h
Merged PRs (30d)
7

Description

Visible in https://gist.github.com/matthiasdiener/b50910994b638097c37c9162f2005982, from https://github.com/illinois-ceesd/mirgecom/issues/1101.

As an extension, we could allow for reuse of allocations by multiple kernels.

Note that this is roughly equivalent to what @kaushikcfd's [`_alias_global_temporaries`](https://github.com/illinois-ceesd/meshmode/blob/761b235e281dbf050159969b1d5d891966f6d996/meshmode/array_context.py#L456).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.