Skip to content

Replace .at[...].add scatters with broadcast identity in theta_method_matrix_equation - #2481

Closed
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_984561116
Closed

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_984561116

Conversation

@copybara-service

Copy link
Copy Markdown

Replace .at[...].add scatters with broadcast identity in theta_method_matrix_equation

Eliminates scatter-add buffer copies when assembling lhs_diag and rhs_diag in fvm/residual_and_loss.py (theta_method_matrix_equation):

…_matrix_equation

Eliminates scatter-add buffer copies when assembling `lhs_diag` and `rhs_diag` in `fvm/residual_and_loss.py` (`theta_method_matrix_equation`):

PiperOrigin-RevId: 984561116
@copybara-service copybara-service Bot closed this Sep 24, 2026
@copybara-service
copybara-service Bot deleted the test_984561116 branch September 24, 2026 15:35
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