cu-embed 0.1.1

Compile CUDA kernels with nvcc, embed cubin/PTX artifacts, and load the best module at runtime.
1
2
3
4
5
6
7
8
9
10
11
12
#![doc = include_str!("../README.md")]

mod build_support;
pub mod manifest;
pub mod runtime;

/// Build-time helpers for compiling and embedding CUDA kernels from `build.rs`.
pub mod build {
    pub use crate::build_support::{BuildError, BuildOutput, Builder};
}

pub use runtime::{EmbeddedCudaModules, RuntimeError};