Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues with
_CPackedColumns.serialize()
handling of host and de…
…vice data (#8759) A few changes in here to resolve some test failures using pack/unpack with DataFrame serialization: - We now use a `Buffer` in `frames` to represent the device data, so that Dask can correctly perform the necessary DtoD transfers when moving a packed columns object between devices - With #8697 merged, the results of packing an empty DataFrame will set the pointer to the host data to `NULL`; since Cython cannot make a memoryview from `NULL`, we now check for this condition before making the host data array - The serialized type is now included in the serialized header Authors: - Charles Blackmon-Luca (https://github.com/charlesbluca) Approvers: - https://github.com/brandon-b-miller - Michael Wang (https://github.com/isVoid) URL: #8759
- Loading branch information