cudf-cxx 0.2.0

cxx-based FFI bridge between Rust and NVIDIA libcudf C++ API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <cudf/structs/structs_column_view.hpp>
#include <cudf/copying.hpp>
#include <cudf/types.hpp>
#include <memory>
#include "rust/cxx.h"
#include "column_shim.h"

namespace cudf_shims {

/// Extract the child column at index from a struct column.
/// Returns a materialized copy of the child.
std::unique_ptr<OwnedColumn> structs_extract(
    const OwnedColumn& col,
    int32_t index);

} // namespace cudf_shims