rtx-cfd: the legacy GPU modules back in the cuda build (repair in progress)
CI / Format Check (push) Failing after 6s
CI / Clippy Check (push) Failing after 6s
CI / Build CPU-Only (Explicit) (push) Failing after 7s
CI / Build (ubuntu-latest) (push) Failing after 7s
Documentation / Build User Guide (push) Successful in 6s
Documentation / Build API Documentation (push) Failing after 22s
Performance Benchmarks / Run Benchmarks (push) Successful in 2m58s
CI / Build (macos-latest) (push) Canceled after 0s
CI / Test (macos-latest) (push) Canceled after 0s
CI / Test (ubuntu-latest) (push) Canceled after 0s
CI / Python Bindings (maturin) (macos-latest) (push) Canceled after 0s
CI / Python Bindings (maturin) (ubuntu-latest) (push) Canceled after 0s
CI / WASM Build + Size Check (push) Canceled after 0s
CI / Distributed Training Tests (push) Canceled after 0s
CI / CI Success (push) Canceled after 0s

This commit is contained in:
Omar Sobh
2026-09-16 07:15:24 -05:00
parent 3fd4fb7b8c
commit de435eb91c
3 changed files with 22 additions and 33 deletions
@@ -5,30 +5,27 @@
//! - D3Q19: 3D model with 19 discrete velocities
//! - Boundary conditions: bounce-back, Zou-He
//! - Collision operators: BGK, MRT
// PERF-2 (2026-09-16): the legacy GPU modules have not compiled since the
// initial commit (cudarc API drift); kept out of the `cuda` build until
// someone needs them — the batched V-cycle benchmark uses cudarc directly.
pub mod boundary;
pub mod d2q9;
/// GPU-accelerated D2Q9 LBM solver
// #[cfg(feature = "cuda")]
// pub mod d2q9_gpu;
#[cfg(feature = "cuda")]
pub mod d2q9_gpu;
pub mod d3q19;
/// GPU-accelerated D3Q19 LBM solver
// #[cfg(feature = "cuda")]
// pub mod d3q19_gpu;
#[cfg(feature = "cuda")]
pub mod d3q19_gpu;
pub use boundary::{
BounceBackBc, BoundaryConditionSet, BoundaryOrientation, LbmBoundaryCondition, ZouHeBc,
ZouHeBoundaryType,
};
pub use d2q9::{D2Q9Parameters, D2Q9Solver};
// #[cfg(feature = "cuda")]
// pub use d2q9_gpu::D2Q9GpuSolver;
#[cfg(feature = "cuda")]
pub use d2q9_gpu::D2Q9GpuSolver;
pub use d3q19::{D3Q19Parameters, D3Q19Solver, MacroscopicVariables3D};
// #[cfg(feature = "cuda")]
// pub use d3q19_gpu::D3Q19GpuSolver;
#[cfg(feature = "cuda")]
pub use d3q19_gpu::D3Q19GpuSolver;
/// Common LBM traits and utilities
pub mod common {