Expand description
FFI bindings for cuEST (CUDA Electronic Structure Toolkit).
This crate provides raw, unsafe FFI bindings to the cuEST C API,
one-to-one with the C declarations. Prefer a safe wrapper (e.g.
cuest-cudarc) over using this crate directly.
The bindings are auto-generated from the cuEST public C headers; do not
edit the generated files manually. See scripts/generate_ffi.py.
cuEST itself is NVIDIA proprietary software and is not distributed with this crate; see the readme for how to obtain it and point this crate to it.
§Loading Modes
- Dynamic loading (default,
dynamic_loadingfeature):libcuestis loaded at runtime vialibloading. SetCUEST_DYLOADto the library path, or let the crate search standard locations (seeffi_dynamicmodule documentation). - Static linking (
--no-default-features): linkslibcuestat build time. SetCUEST_LIB_DIRif the library is in a nonstandard location.
Re-exports§
pub use ffi_dynamic as ffi;
Modules§
- ffi_
dynamic - FFI module for cuEST (dynamic loading).
- status
- Helpers for
cuestStatus_treturn codes.