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

[xla:cpu] Optimize buffer allocations construction from se::DeviceMemoryBase #19487

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

[xla:cpu] Optimize buffer allocations construction from se::DeviceMemoryBase


Benchmark Time CPU Iterations

BM_NanoRtAddScalars 46.2 ns 46.2 ns 14828452
BM_NanoRtFibonacci 59.9 ns 59.9 ns 11552577
BM_PjRtAddScalars 1544 ns 1543 ns 456822
BM_PjRtFibonacci 1533 ns 1532 ns 457991

…oryBase

--------------------------------------------------------------
Benchmark                    Time             CPU   Iterations
--------------------------------------------------------------
BM_NanoRtAddScalars       46.2 ns         46.2 ns     14828452
BM_NanoRtFibonacci        59.9 ns         59.9 ns     11552577
BM_PjRtAddScalars         1544 ns         1543 ns       456822
BM_PjRtFibonacci          1533 ns         1532 ns       457991

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