kn_cuda_sys/lib.rs
1#![warn(missing_debug_implementations)]
2#![allow(clippy::missing_safety_doc)]
3#![allow(clippy::new_without_default)]
4#![allow(clippy::too_many_arguments)]
5
6//! A -sys crate for the following cuda libraries and headers:
7//! * Cuda (`cuda.h` and `cuda_runtime.h`)
8//! * cuDNN (`cudnn.h`)
9//! * cuBLAS (`cublas_v2.h` and `cublasLt.h`)
10//! * NVRTC (`nvrtc.h`)
11//!
12//! The [bindings] module contains the FFI [bindgen](https://crates.io/crates/bindgen)-generated signatures.
13//! The [wrapper] module contains more user-friendly and where possible safe wrappers around certain objects.
14//!
15//! This crate is part of the [Kyanite](https://github.com/KarelPeeters/Kyanite) project, see its readme for more information.
16//! See [system-requirements](https://github.com/KarelPeeters/Kyanite#system-requirements) for how to set up the cuda libraries.
17
18pub mod bindings;
19pub mod wrapper;