Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement basic memory space support for PjRt CPU #67399

Merged
merged 1 commit into from May 13, 2024

Conversation

copybara-service[bot]
Copy link

Implement basic memory space support for PjRt CPU

This CL implements minimal memory support for PjRt CPU so that memory space APIs can be used consistently across device types. Like GPU, each CPU device for now has just one memory space kind (device) and all memory space flavors of transfer APIs redirect the calls to the corresponding versions that take a device instead, assuming that there's only one device to which each memory space is attached.

@copybara-service copybara-service bot force-pushed the exported_pr_632843733 branch 7 times, most recently from b3a58a2 to 961c158 Compare May 13, 2024 18:16
This CL implements minimal memory support for PjRt CPU so that memory space APIs can be used consistently across device types. Like GPU, each CPU device for now has just one memory space kind (`device`) and all memory space flavors of transfer APIs redirect the calls to the corresponding versions that take a device instead, assuming that there's only one device to which each memory space is attached.

PiperOrigin-RevId: 633272982
@copybara-service copybara-service bot closed this May 13, 2024
@copybara-service copybara-service bot deleted the exported_pr_632843733 branch May 13, 2024 19:03
@copybara-service copybara-service bot merged commit 3cefc36 into master May 13, 2024
1 check passed
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.

None yet

1 participant