用于 unique_ptr 的自定义删除器的 functor,该 unique_ptr 指向 table_view 更多...
#include <interop.hpp>
公共成员函数 | |
custom_view_deleter (owned_columns_t &&owned) | |
构造一个新的自定义视图删除器对象。 更多... | |
void | operator() (ViewType *ptr) const |
用于删除 unique_ptr 的操作符 更多... | |
公共属性 | |
owned_columns_t | owned_mem_ |
必须被删除的拥有的列。 | |
用于 unique_ptr 的自定义删除器的 functor,该 unique_ptr 指向 table_view
从 ArrowDeviceArray 转换时,有些情况下数据不能是零拷贝的(例如 bool 类型或非 UINT32 的字典索引)。此自定义删除器用于维护分配数据的所有权,因为 cudf::table_view
不持有所有权。
定义于文件 interop.hpp 的第 158 行。
|
inlineexplicit |
|
inline |