Skip to content

Expose Storage.data_ptr() as public API#1554

Open
alinpahontu2912 wants to merge 1 commit intodotnet:mainfrom
alinpahontu2912:fix/expose-data-ptr-public-api
Open

Expose Storage.data_ptr() as public API#1554
alinpahontu2912 wants to merge 1 commit intodotnet:mainfrom
alinpahontu2912:fix/expose-data-ptr-public-api

Conversation

@alinpahontu2912
Copy link
Member

Change the access modifier of Storage.data_ptr() from protected to public, allowing external consumers to obtain the raw data pointer for interop with other native libraries (e.g. bitsandbytes).

Fixes #1454

Change the access modifier of Storage.data_ptr() from protected to public,
allowing external consumers to obtain the raw data pointer for interop with
other native libraries (e.g. bitsandbytes).

Fixes dotnet#1454

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alinpahontu2912
Copy link
Member Author

Hey @LittleLittleCloud does this help you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose data_ptr as a public API

1 participant