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

Fix overflow error for large buffers. #2303

Merged
merged 1 commit into from
Jun 9, 2020

Commits on Jun 9, 2020

  1. Fix overflow error for large buffers.

    Summary:
    Allow writes of >= 2^32 bytes. High-res video can cross this threshold sometimes.
    LHS is `size_t`, but RHS is all `int32`, and will overflow for output tensors >2Gb.
    
    Reviewed By: jsawruk
    
    Differential Revision: D21255664
    
    fbshipit-source-id: 7b4c5da989777297a89e73615aaeee8c7a13186a
    Tilak Sharma authored and fmassa committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    9bec7d7 View commit details
    Browse the repository at this point in the history