1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#![warn(missing_debug_implementations)]
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::new_without_default)]
#![allow(clippy::too_many_arguments)]

//! A -sys crate for the following cuda libraries and headers:
//! * Cuda (`cuda.h` and `cuda_runtime.h`)
//! * cuDNN (`cudnn.h`)
//! * cuBLAS (`cublas_v2.h` and `cublasLt.h`)
//! * NVRTC (`nvrtc.h`)
//!
//! The [bindings] module contains the FFI [bindgen](https://crates.io/crates/bindgen)-generated signatures.
//! The [wrapper]  module contains more user-friendly and where possible safe wrappers around certain objects.
//!
//! This crate is part of the [Kyanite](https://github.com/KarelPeeters/Kyanite) project, see its readme for more information.
//! See [system-requirements](https://github.com/KarelPeeters/Kyanite#system-requirements) for how to set up the cuda libraries.

pub mod bindings;
pub mod wrapper;