rust-cuda-derive
provides the
#[derive(LendRustToCuda)]
derive macro for the
rust_cuda::lend::RustToCuda
utility trait, which enables the usage of the
rust_cuda::lend::LendToCuda
trait that allows Rust data structures to be shared with CUDA kernels.
The async variants of both traits are optionally implemented as well.
#[derive(LendRustToCuda)
derive macro for the
rust_cuda::lend::RustToCuda
utility trait, which enables the usage of the
rust_cuda::lend::LendToCuda
trait that allows Rust data structures to be shared with CUDA kernels.