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] Literal: Add APIs for accessing and populating literals using linear indexing #23151

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

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Feb 26, 2025

[xla:cpu] Literal: Add APIs for accessing and populating literals using linear indexing

--------------------------------------------------------------------------------------
Benchmark                                            Time             CPU   Iterations
--------------------------------------------------------------------------------------
BM_Populate/1024/process_time                 10186003 ns     10164037 ns           67
BM_PopulateParallel/1024/process_time          5690373 ns     29945649 ns           23
BM_PopulateLinear/1024/process_time            3292270 ns      3286792 ns          211
BM_PopulateLinearParallel/1024/process_time     810066 ns      5736881 ns          117

…ng linear indexing

```
--------------------------------------------------------------------------------------
Benchmark                                            Time             CPU   Iterations
--------------------------------------------------------------------------------------
BM_Populate/1024/process_time                 10186003 ns     10164037 ns           67
BM_PopulateParallel/1024/process_time          5690373 ns     29945649 ns           23
BM_PopulateLinear/1024/process_time            3292270 ns      3286792 ns          211
BM_PopulateLinearParallel/1024/process_time     810066 ns      5736881 ns          117
```

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