-
Notifications
You must be signed in to change notification settings - Fork 4
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
Merge upstream #28
Merge upstream #28
Conversation
* Be explicit about what args are accepted. * fetch_insn_id -> prefetch_insn_id * program -> t_unit
Closes gh-858
* Changed to update the inames of the instructions that do not access an inames, yet, are nested within the iname to be duplicated.
Also drop _git_rev mechanism
inducer/loopy#694 Co-authored-by: Matthias Diener <[email protected]> Co-authored-by: Andreas Kloeckner <[email protected]>
Co-authored-by: Andreas Kloeckner <[email protected]>
On Python 3.12, this provokes a stack overflow in the scheduler. It is not quite clear why that's the case; pure-Python recursion even with generators seems to respond well to setrecursionlimit(): ```py def f(n): if n: yield from f(n-1) else: yield 5 import sys sys.setrecursionlimit(3500) print(list(f(3400))) ``` That said, there have been [behavior](python/cpython#96510) [changes](python/cpython#112215) in Py3.12 in this regard, but it is not clear what exactly about Loopy's behavior makes it fall into the 'bad' case.
* Require that happens_after is not mutable * Tweak type tests for happens_after --------- Co-authored-by: Andreas Kloeckner <[email protected]>
…it once and also defines the pack argument.
This restores compatibility with pymbolic 2022.2 x-ref: #27
I think this already broke 3.8 and 3.9; see firedrakeproject/tsfc#327. Shall we just drop 3.8 and 3.9? |
Ah. That's a bit frustrating. I guess so. David said that that was fine this is just happening earlier than I expected. |
I will update the website accordingly (and also post to Slack). |
Eeek, sorry about that! That was not intentional. Should you want to restore 3.8 compatibility for now, the fix is straightforward. This: ToShapeLikeConvertible: TypeAlias = (Tuple[ExpressionT | str, ...]
| ExpressionT | type[auto] | str | tuple[str, ...]) should become: ToShapeLikeConvertible: TypeAlias = Union[Tuple[Union[ExpressionT, str], ...],
ExpressionT, type[auto], str, tuple[str, ...]] |
closes #27
Firedrake CI run: firedrakeproject/firedrake#3851