Registry / other / rustacuda-derive

rustacuda-derive

JSON →
library0.1.2rscratesunverified

Custom derive macro for RustaCUDA, enabling CUDA kernel development in Rust.

# Cargo.toml [dependencies] rustacuda_derive = "0.1.2"
INSTALL
IMPORT
SIG · RUSTACUDA-DERIVE
R
rustacuda-derive
otherrustv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

kernel
use rustacuda_derive::kernel;

Define a CUDA kernel using the derive macro.

use rustacuda_derive::kernel; #[kernel] unsafe fn my_kernel() { // CUDA kernel code }
Debug
Known issues
gotchaRequires CUDA toolkit and compatible GPU.
fix
Install CUDA toolkit and ensure nvcc is in PATH.
affects: >=0.1.0
Upgrade
Version history
0.1.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rustacuda-derive — cargo add rustacuda-derive · libregistry