Skip to content

Conversation

@kaushikcfd
Copy link
Collaborator

@kaushikcfd kaushikcfd commented Mar 14, 2023

Outlining is as simple as decorating a function with @actx.outline.

Draft because:

@kaushikcfd kaushikcfd force-pushed the outlining branch 5 times, most recently from c00aaff to cf87fd4 Compare March 14, 2023 23:19
@inducer inducer marked this pull request as ready for review June 1, 2023 15:48
@majosm majosm force-pushed the outlining branch 2 times, most recently from 858e1c4 to b134b64 Compare July 9, 2024 19:09
@majosm majosm marked this pull request as draft July 9, 2024 19:12
@majosm majosm force-pushed the outlining branch 2 times, most recently from 7663f97 to 92e51f2 Compare January 21, 2025 15:52
@majosm majosm force-pushed the outlining branch 2 times, most recently from 7024ca2 to be021fe Compare May 22, 2025 20:29
@majosm majosm force-pushed the outlining branch 8 times, most recently from 1100ca3 to 4a52bdc Compare June 4, 2025 20:19
@majosm majosm force-pushed the outlining branch 2 times, most recently from e54a56e to befb2d3 Compare June 16, 2025 20:27
@majosm
Copy link
Collaborator

majosm commented Jun 16, 2025

Depends on inducer/pytato#609 inducer/pytato#610.

@majosm majosm requested a review from inducer June 25, 2025 18:57
@majosm
Copy link
Collaborator

majosm commented Jun 25, 2025

@inducer Do you know what's up with these doc errors? I don't get them when building locally.

Otherwise, this looks ready for review.

@inducer inducer force-pushed the outlining branch 5 times, most recently from 96eb003 to 2a6a488 Compare July 1, 2025 14:30
inducer and others added 18 commits July 1, 2025 09:38
cosmetic-ish refactor of OutlinedCall.__call__

includes minor change to handle array containers that contain scalars
(e.g., a TracePair of
constant diffusion coefs)

check for non-argument placeholders in outlined function

drop unused function arguments

pass hashable instead of string as id to outline

handle optional arguments that are passed as None explicitly

change Map -> immutabledict in outlining

remove duplicates when creating FunctionDefinition

add comment explaining non-argument placeholder check

Co-authored-by: Matthew Smith <mjsmith6@illinois.edu>
Co-authored-by: Andreas Kloeckner <inform@tiker.net>
@inducer inducer merged commit 1242f0a into main Jul 1, 2025
11 checks passed
@inducer inducer deleted the outlining branch July 1, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants