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

Spans supporting pointer-sized sizes (e.g. 64 bit on 64 bit OS) #27040

Open
lostmsu opened this issue Oct 4, 2019 · 0 comments
Milestone

Comments

@lostmsu
Copy link

@lostmsu lostmsu commented Oct 4, 2019

This is very related to #23132 (but not the same).

Currently Span Length is limited to just under Int32.MaxValue.

This is problematic when working on relatively large data, as we have to resort to working with raw pointers and unmanaged memory allocation to work with contiguous arrays of 2G+ elements.

To give a concrete example, from .NET I can't simply give TensorFlow 800_000 64x64 1-channel (channel==byte) images as a contiguous array.

@danmosemsft danmosemsft added this to the 5.0 milestone Oct 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.