Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Copy bytes-like data to DeviceBuffer directly #264

Closed
wants to merge 1 commit into from

Conversation

jakirkham
Copy link
Member

In cases where we know the data is flat, bytes-like, and contiguous, build a DeviceBuffer from it directly and wrap it up in a Numba DeviceNDArray. This can be a bit more performant than the usual path given we can build the DeviceBuffer directly.

@jakirkham jakirkham requested a review from a team as a code owner January 29, 2020 23:52
@jakirkham jakirkham force-pushed the use_frombytes branch 4 times, most recently from b60c223 to 1b3e9d0 Compare January 30, 2020 00:09
In cases where we know the data is flat and contiguous, build a
`DeviceBuffer` from it directly and wrap it up in a Numba
`DeviceNDArray`. This can be a bit more performant than the usual path
given we can build the `DeviceBuffer` directly.
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.

1 participant