Skip to content

Add cuda.core.NDBuffer #674

Open
Open
@leofang

Description

@leofang

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 Buffer does

The only bit that needs discussion during design meetings: Is it owning or non-owning?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Medium priority - Should docuda.coreEverything related to the cuda.core modulefeatureNew feature or requesttriageNeeds the team's attention

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions