Crate rust_cuda_derive

source ·
Expand description

CI Status MSRV Rust Doc License Status Code Coverage Gitpod Ready-to-Code

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 Macros§