Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Nov 12, 2025

Optimize SparseCore input preprocessing by eliminating buffer copies.

  • Introducing OutputBufferViews, allowing
    the caller to pass views of the destination buffers.
  • Modifying CsrArraysPerHost to optionally use Eigen::Map to wrap
    these buffers when provided. We can avoid populating large CSR arrays in the preprocessing return values and skip the data copy step.

@copybara-service copybara-service bot force-pushed the test_831179831 branch 8 times, most recently from 3fafae7 to 54444da Compare November 13, 2025 20:40
*   Introducing `OutputBufferViews`, allowing
    the caller to pass views of the destination buffers.
*   Modifying `CsrArraysPerHost` to optionally use `Eigen::Map` to wrap
    these buffers when provided. We can avoid populating large CSR arrays in the preprocessing return values and skip the data copy step.

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