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) #13533

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

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

lostmsu opened this issue Oct 4, 2019 · 0 comments
Labels
area-System.Runtime enhancement
Milestone

Comments

@lostmsu
Copy link

@lostmsu lostmsu commented Oct 4, 2019

This is very related to https://github.com/dotnet/coreclr/issues/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.

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 5.0 milestone Jan 31, 2020
@maryamariyan maryamariyan added the untriaged label Feb 26, 2020
@joperezr joperezr added enhancement and removed untriaged labels Jul 7, 2020
@joperezr joperezr removed this from the 5.0.0 milestone Jul 7, 2020
@joperezr joperezr added this to the Future milestone Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime enhancement
Projects
None yet
Development

No branches or pull requests

4 participants