-
Couldn't load subscription status.
- Fork 217
Open
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core modulefeatureNew feature or requestNew feature or requesttriageNeeds the team's attentionNeeds the team's attention
Milestone
Description
Moving the tracking issue to the public. Unlike the existing Buffer which is a 1D contiguous, untyped blob, we want to have a typed buffer that feels more natural to use as underlying memory of tensors/arrays. The requirements include
- Arbitrary dimension
- Holds the underlying pointer
- Holds shape
- Holds strides
- Exposes same attributes as
Bufferdoes
The only bit that needs discussion during design meetings: Is it owning or non-owning?
- I think it should be owning (I was wrong in one of the meetings today) because
Bufferis owning too. That'd make thisNDBufferlook more likemdarray([FEA]: Providemdarraycccl#2474; see also Raft's counterpart and p1684). - If it's non-owning, then it's a view but we already have
StridedMemoryView(LoweringStridedMemoryViewattribues to typed efficient C/C++/Cython accessible values #180)
Metadata
Metadata
Assignees
Labels
P1Medium priority - Should doMedium priority - Should docuda.coreEverything related to the cuda.core moduleEverything related to the cuda.core modulefeatureNew feature or requestNew feature or requesttriageNeeds the team's attentionNeeds the team's attention