Skip to content

Get rid of the buffer_assignments member field in gpu_executable. - #122272

Merged
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_939756005
Jul 7, 2026
Merged

Get rid of the buffer_assignments member field in gpu_executable.#122272
copybara-service[bot] merged 1 commit into
masterfrom
exported_pr_939756005

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Jun 29, 2026

Copy link
Copy Markdown

Get rid of the buffer_assignments member field in gpu_executable.

Before a GpuExecutable could have either:

  1. the buffer_assignment_ field populated, or;
  2. the buffer_allocations_ and buffer_assignment_proto_ populated.

Now its always 2., i.e. now we always pass the buffer allocations that we extracted from the buffer assigments.

@copybara-service
copybara-service Bot force-pushed the exported_pr_939756005 branch 6 times, most recently from e5a5d73 to 8a486ee Compare July 6, 2026 12:10
@copybara-service
copybara-service Bot force-pushed the exported_pr_939756005 branch 2 times, most recently from 409cd3e to 5a46c8d Compare July 7, 2026 07:47
Before a GpuExecutable could have either:

1. the `buffer_assignment_` field populated, or;
2. the `buffer_allocations_` **and** `buffer_assignment_proto_` populated.

Now its always **2.**, i.e. now we always pass the buffer allocations that we extracted from the buffer assigments.

PiperOrigin-RevId: 943734029
@copybara-service
copybara-service Bot force-pushed the exported_pr_939756005 branch from 5a46c8d to 15dfd9f Compare July 7, 2026 08:21
@copybara-service
copybara-service Bot merged commit 15dfd9f into master Jul 7, 2026
@copybara-service
copybara-service Bot deleted the exported_pr_939756005 branch July 7, 2026 08:21
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