#amd #blas #lapack #math #api-bindings

aocl

Umbrella crate re-exporting the per-component safe wrappers for AMD AOCL

1 unstable release

0.1.0 Apr 27, 2026

#20 in #lapack

MIT/Apache

245KB
6K SLoC

aocl — umbrella re-exporting the per-component safe AOCL wrappers under cargo features.

Most users will prefer to depend directly on the component crate they need (e.g. aocl-blas, aocl-lapack). This crate exists for "I want a bunch of AOCL components behind one dependency line" use-cases.


aocl

Umbrella crate re-exporting the safe Rust wrappers for the AMD Optimizing CPU Libraries. Convenient when you want most of AOCL under a single dependency line. If you only need one or two components, depend directly on the per-component crates (e.g. aocl-blas, aocl-lapack).

#[cfg(feature = "blas")]
use aocl::blas;

#[cfg(feature = "lapack")]
use aocl::lapack;

Features

One per AOCL component (blas, lapack, fft, math, sparse, rng, securerng, utils, compression, crypto, data-analytics, scalapack), plus build modes (ilp64, static-link).

Shared types (Layout, Trans, Uplo, Diag, Side) and the common Error type are re-exported from this crate's root regardless of which features you enable.

Dual-licensed under MIT or Apache-2.0.

Dependencies

~0.7–2MB
~56K SLoC