Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Fix pinned buffer IO issues #479

Merged
merged 6 commits into from
Apr 20, 2022

Conversation

charlesbluca
Copy link
Member

@charlesbluca charlesbluca commented Apr 15, 2022

This PR resolve pinned buffer IO issues introduced in de9be48; essentially, if read_bin is passed a buffer and dtype, it should prioritize buffer.dtype over dtype to ensure that the buffer and memmap sizes match up.

Still want to add IO tests to ensure that things are working properly, and potentially alter read_bin to raise an error if both buffer and dtype are provided.

Closes #474

@charlesbluca charlesbluca requested a review from a team as a code owner April 15, 2022 21:22
@awthomp awthomp added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 20, 2022
@awthomp
Copy link
Member

awthomp commented Apr 20, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit d69f9cb into rapidsai:branch-22.06 Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] ValueError when reading SigMF with pinned buffer in io_examples.ipynb
2 participants