Skip to content

Part of #1606: Add graph-backed fields for evolution on irregular neighbor networks - #1608

Closed
godofecht wants to merge 14 commits into
mainfrom
issue-1606-10316772702077393008
Closed

godofecht wants to merge 14 commits into
mainfrom
issue-1606-10316772702077393008

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Part of #1606.

This adds the graph-backed field operator heat_euler_step_csr in lib/stdlib/dynamics/pde.flow that computes field evolution using CSR adjacency logic. It defaults edge weights to 1.0 if null is passed. It includes an example of heat diffusion on a path graph and an irregular star graph (examples/evolution/heat_diffusion_graph.flow), and verified outputs via C-backend regressions tests (tests/cgen/pde_csr.flow).


PR created automatically by Jules for task 10316772702077393008 started by @godofecht

…ghbor networks

- Added `heat_euler_step_csr` standard operator in `lib/stdlib/dynamics/pde.flow`.
- Added example `examples/evolution/heat_diffusion_graph.flow` that evolves scalar field on path graph and irregular graph.
- Added C-backend golden test in `tests/cgen/pde_csr.flow`.

Co-authored-by: godofecht <[email protected]>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules Bot and others added 4 commits October 21, 2026 16:12
…ghbor networks

- Added `heat_euler_step_csr` standard operator in `lib/stdlib/dynamics/pde.flow`.
- Added example `examples/evolution/heat_diffusion_graph.flow` that evolves scalar field on path graph and irregular graph.
- Added C-backend golden test in `tests/cgen/pde_csr.flow`.
- Rebuilt `docs/library/stdlib-api.md` and `examples/STATUS.md` so that CI passes.

Co-authored-by: godofecht <[email protected]>
…ghbor networks

- Added `heat_euler_step_csr` standard operator in `lib/stdlib/dynamics/pde.flow`.
- Added example `examples/evolution/heat_diffusion_graph.flow` that evolves scalar field on path graph and irregular graph.
- Added C-backend golden test in `tests/cgen/pde_csr.flow`.
- Fixed trailing space in `tests/cgen/pde_csr.expect` that caused `flowc-goldens` CI failure.
- Regenerated `docs/library/stdlib-api.md` and `examples/STATUS.md` so that CI passes.

Co-authored-by: godofecht <[email protected]>
- Updated `compiler/fixtures/mlir/corpus.txt` to reflect the new MLIR digest for files dependent on `pde.flow`.

Co-authored-by: godofecht <[email protected]>
…7393008-5532333951988516716

Fix CI on PR #1608 (Part of #1606)
@godofecht godofecht mentioned this pull request Oct 28, 2026
godofecht and others added 3 commits October 29, 2026 10:49
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: godofecht <[email protected]>
Part of #1606 / CI fix for #1608

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: godofecht <[email protected]>
godofecht added a commit that referenced this pull request Oct 29, 2026
Updated HACK_LO/HACK_HI and MLIR corpus parity entries to fix CI.

Co-authored-by: godofecht <[email protected]>
godofecht added a commit that referenced this pull request Oct 29, 2026
google-labs-jules Bot and others added 5 commits October 29, 2026 16:06
Apply #1622 patch for corpus.txt and pde_csr removal.
Append GNU-stack note to x86_64 and arm64 runtime asm files.
Remove deprecated GNU-stack warning from record_two_frames.err.

Co-authored-by: godofecht <[email protected]>
…7393008-fix-17927729619213522931

Fix record_two_frames and apply missing patch
…7393008-1689228995427392440

Part of #1606: Add graph-backed fields for evolution
@godofecht
godofecht added this pull request to the merge queue Nov 2, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 2, 2026
@godofecht godofecht closed this Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Closed as superseded by #1648, which explicitly re-applies this graph-backed CSR field evolution work onto newer main. Compared the changed-file patches: the docs, example, stdlib PDE helper, arm64 assembly and CSR regression fixtures are identical; the MLIR corpus digest was regenerated for the newer base, and the x86-64 GNU-stack fix is already present on main via #1645. Preserve and qualify the implementation in #1648 rather than merge the stale duplicate.

@google-labs-jules

Copy link
Copy Markdown
Contributor

Closed as superseded by #1648, which explicitly re-applies this graph-backed CSR field evolution work onto newer main. Compared the changed-file patches: the docs, example, stdlib PDE helper, arm64 assembly and CSR regression fixtures are identical; the MLIR corpus digest was regenerated for the newer base, and the x86-64 GNU-stack fix is already present on main via #1645. Preserve and qualify the implementation in #1648 rather than merge the stale duplicate.

Understood. Acknowledging that this work is now superseded and stopping work on this task.

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.

1 participant