Skip to content

Add cheddar_gpu copy op - #3629

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

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

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Add cheddar_gpu copy op

Adds cheddar_gpu.copy to the cheddar_gpu dialect for copying polynomial buffers and limb slices.

As I was reviewing the mega-CL's details, I realized it's duplicating some bufferization work that could be reused from upstream MLIR. So this op will become the copy materialization op during bufferization, and a later change will upgrade all the ops in this dialect to support both destination-style tensor operands as well as memref operands.

@copybara-service
copybara-service Bot force-pushed the test_1015875348 branch 3 times, most recently from c2026d3 to d7c42e7 Compare November 12, 2026 18:41
Adds cheddar_gpu.copy to the cheddar_gpu dialect for copying polynomial buffers and limb slices.

As I was reviewing the mega-CL's details, I realized it's duplicating some bufferization work that could be reused from upstream MLIR. So this op will become the copy materialization op during bufferization, and a later change will upgrade all the ops in this dialect to support both destination-style tensor operands as well as memref operands.

PiperOrigin-RevId: 1015875348

This branch has not been deployed

No deployments
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