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

Commits on Nov 20, 2024

  1. [xla:cpu] Optimize buffer allocations construction from se::DeviceMem…

    …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
    ezhulenev authored and Google-ML-Automation committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    69ca57b View commit details
    Browse the repository at this point in the history