cudf-cxx 0.3.1

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
//! Bridge definitions for libcudf transpose operations.
//!
//! Provides GPU-accelerated table transposition.

#[cxx::bridge(namespace = "cudf_shims")]
pub mod ffi {
    unsafe extern "C++" {
        include!("transpose_shim.h");
        include!("table_shim.h");
        type OwnedTable = crate::table::ffi::OwnedTable;

        /// Transpose a table (swap rows and columns).
        /// All columns must have the same data type.
        fn transpose_table(table: &OwnedTable) -> Result<UniquePtr<OwnedTable>>;
    }
}