contiguous_split、pack、unpack 和 metadata 的表 API。 更多...
#include <cudf/table/table.hpp>
#include <cudf/types.hpp>
#include <cudf/utilities/export.hpp>
#include <cudf/utilities/memory_resource.hpp>
#include <memory>
#include <vector>
类 | |
struct | cudf::packed_columns |
序列化格式的列数据。 更多... | |
struct | cudf::packed_table |
cudf::contiguous_split 的结果。 更多... | |
class | cudf::chunked_pack |
使用用户提供的 user_buffer_size 大小的缓冲区对输入的 table_view 进行分块“打包”操作。 更多... | |
命名空间 | |
cudf | |
cuDF 接口 | |
函数 | |
std::vector< packed_table > | cudf::contiguous_split (cudf::table_view const &input, std::vector< size_type > const &splits, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
对一个 table_view 进行深拷贝分割,将其分割成一个 packed_table 向量,其中每个 packed_table 都使用一个连续的内存块来存储所有分割后的列数据。 更多... | |
packed_columns | cudf::pack (cudf::table_view const &input, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
将一个 table_view 进行深拷贝,存储为序列化的连续内存格式。 更多... | |
std::vector< uint8_t > | cudf::pack_metadata (table_view const &table, uint8_t const *contiguous_buffer, size_t buffer_size) |
生成用于打包存储在连续缓冲区中的表的元数据。 更多... | |
table_view | cudf::unpack (packed_columns const &input) |
反序列化 cudf::pack 的结果。 更多... | |
table_view | cudf::unpack (uint8_t const *metadata, uint8_t const *gpu_data) |
反序列化 cudf::pack 的结果。 更多... | |
contiguous_split、pack、unpack 和 metadata 的表 API。
定义位于文件 contiguous_split.hpp。