You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Rust library crate (ndarray fork with HPC extensions). No external services (databases, APIs) are needed.
6
+
7
+
### Quick reference
8
+
9
+
| Action | Command |
10
+
|--------|---------|
11
+
| Build |`cargo build`|
12
+
| Lint |`cargo clippy -- -D warnings`|
13
+
| Test (lib) |`cargo test --lib -p ndarray`|
14
+
| Test (workspace) |`cargo test`|
15
+
| Test (HPC subset) |`cargo test --lib -p ndarray -- hpc::`|
16
+
| Run example |`cargo run --example life`|
17
+
| Format check |`cargo fmt -- --check`|
18
+
19
+
### Environment notes
20
+
21
+
-**Rust 1.94.0** is pinned via `rust-toolchain.toml`; rustup auto-selects it in `/workspace`.
22
+
-**No AVX-512 hardware** in Cloud Agent VMs — SIMD kernel tests using `#[target_feature(enable = "avx512f")]` are compile-gated and will be skipped at runtime. This is expected behavior.
23
+
-**Feature gates**: `intel-mkl` and `openblas` are mutually exclusive and require system libraries not installed by default. The default build uses `native` (pure Rust SIMD) which needs no extra libs.
24
+
-**Build time**: ~18s cold, <1s incremental. Tests (~1819) take ~70s.
25
+
- The workspace has sub-crates under `crates/` and `ndarray-rand/`. Default members exclude `blas-tests` and `blas-mock-tests` (they activate the `blas` feature which needs cblas-sys linking).
26
+
-`libssl-dev` is needed as a build dependency for some transitive crates.
0 commit comments