Skip to content

Enforce 32-byte host DMA alignment and padded transfer size in ReadDynamicShape - #125366

Draft
copybara-service[bot] wants to merge 1 commit into
masterfrom
exported_pr_964804703
Draft

Enforce 32-byte host DMA alignment and padded transfer size in ReadDynamicShape#125366
copybara-service[bot] wants to merge 1 commit into
masterfrom
exported_pr_964804703

Conversation

@copybara-service

Copy link
Copy Markdown

Enforce 32-byte host DMA alignment and padded transfer size in ReadDynamicShape

In OpenXLA PJRT (dynamic_shapes.cc), enforce 32-byte minimum host DMA
alignment and 32-byte rounded transfer sizes in ReadDynamicShape to satisfy
hardware accelerator DMA constraints (e.g. TPU VXC driver
minimum_host_dma_alignment_).

…namicShape

In OpenXLA PJRT (dynamic_shapes.cc), enforce 32-byte minimum host DMA
alignment and 32-byte rounded transfer sizes in ReadDynamicShape to satisfy
hardware accelerator DMA constraints (e.g. TPU VXC driver
minimum_host_dma_alignment_).

PiperOrigin-RevId: 964804703
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