Skip to content

RFC: Remove StridedMemoryView (to somewhere else)? #1371

@leofang

Description

@leofang

As part of #674 (comment) it was raised that our library design should strictly follow what the underlying CUDA driver/runtime/library APIs offer (Update: added "library" to cover other CTK libraries such as NVRTC and cuFILE, I missed that when summarizing the meeting notes I took).

StridedMemoryView is not a fundamental object of CUDA and was offered only for Python users' convenience.

I have a somewhat strong opinion that a data structure should co-live with the data algorithm implementations. Otherwise, we do not know if a data structure is properly designed, and to test it would require us to duplicate the algorithms implemented elsewhere. Since we decided to purge StridedLayout, it would make sense to stick to the same design guidelines and purge SMV as well. It should be moved to the library that would provide algorithms that consume SMV.

This RFC aims for downstream SMV users to provide feedbacks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0High priority - Must do!RFCPlans and announcementsbreakingBreaking changes are introducedcuda.coreEverything related to the cuda.core module

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions