Skip to content

array_api usage for Buffer #2199

@ilan-gold

Description

@ilan-gold

Discussed in #2197

Originally posted by ilan-gold September 17, 2024
Hello all,

I have been looking into the core code here (teehee) and I noticed the recent #1967. It made me wonder why array_api + dlpack is not used for the Buffer class (in general, and also specifically in that PR). I am guessing "no one has done it yet" is the answer, which is fair considering we all have other things going on, but then I am curious what #1967 gives that array_api + dlpack wouldn't.

I think cupy, jax (mentioned in the PR), and numpy all support array_api if memory serves correctly.

Sorry for the short question, with probably a long answer, but don't want to presume too much. I also did a quick search of the issues and found nothing relevant to the array api, but might have missed something: https://data-apis.org/array-api/latest/index.html

cc: @akshaysubr @madsbk @d-v-b @dcherian

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew features or improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions