Skip to content

Store xla::cpu::TargetMachineOptions in GpuExecutable and pass it to thunk deserializer.#113050

Draft
copybara-service[bot] wants to merge 1 commit intomasterfrom
exported_pr_886279327
Draft

Store xla::cpu::TargetMachineOptions in GpuExecutable and pass it to thunk deserializer.#113050
copybara-service[bot] wants to merge 1 commit intomasterfrom
exported_pr_886279327

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Mar 23, 2026

Store xla::cpu::TargetMachineOptions in GpuExecutable and pass it to thunk deserializer.

cpu::TargetMachineOptions is the same for all thunks in the executable, so to avoid storing it in each individual custom call thunk, we'll share one saved in gpu executable.

These options will be passed to CustomCallThunk in the following CL enabling the cross compilation.

@copybara-service copybara-service bot changed the title Store xla::cpu::TargetMachineOptions in GpuExecutable. Store xla::cpu::TargetMachineOptions in GpuExecutable and pass it to thunk deserializer. Mar 23, 2026
@copybara-service copybara-service bot force-pushed the exported_pr_886279327 branch from b31ce51 to ebafc08 Compare March 23, 2026 11:12
…thunk deserializer.

cpu::TargetMachineOptions is the same for all thunks in the executable, so to avoid storing it in each individual custom call thunk, we'll share one saved in gpu executable.

These options will be passed to `CustomCallThunk` in the following CL enabling the cross compilation.

PiperOrigin-RevId: 886279327
@copybara-service copybara-service bot force-pushed the exported_pr_886279327 branch from ebafc08 to 0359e38 Compare March 23, 2026 11:20
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