decuda 0.1.1

CUDA to HIP, SYCL, OpenCL, and Rust GPU migration tool — automatic source-code translator for porting CUDA C++ kernels to AMD ROCm HIP, Intel oneAPI SYCL, Khronos OpenCL, and Rust GPU (cust / rust-gpu)
Documentation
//! decuda - migrate CUDA source code to HIP, SYCL, Rust (rust-gpu/cust), or
//! OpenCL.
//!
//! This is the library entry point. The CLI binary at `src/main.rs` is a thin
//! wrapper around [`cli::run`].

pub mod cli;
pub mod cuda_db;
pub mod emit;
pub mod ir;
pub mod migrate;
pub mod parser;
pub mod preprocess;
pub mod report;
pub mod targets;
pub mod walker;

/// Library version pulled from `Cargo.toml`.
pub fn version() -> &'static str {
    env!("CARGO_PKG_VERSION")
}