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
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:
@@ -4,9 +4,6 @@
|
||||
//! - SIMPLE (Semi-Implicit Method for Pressure Linked Equations)
|
||||
//! - PISO (Pressure-Implicit with Splitting of Operators)
|
||||
//! - SIMPLER (SIMPLE Revised)
|
||||
// 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.
|
||||
|
||||
use crate::{CfdConfig, CfdError, CfdResult};
|
||||
// use nalgebra::{DMatrix, DVector};
|
||||
@@ -29,16 +26,16 @@ pub mod overset;
|
||||
/// PISO algorithm implementation
|
||||
pub mod piso;
|
||||
/// GPU-accelerated PISO algorithm implementation
|
||||
// #[cfg(feature = "cuda")]
|
||||
// pub mod piso_gpu;
|
||||
#[cfg(feature = "cuda")]
|
||||
pub mod piso_gpu;
|
||||
/// Five-point Poisson problems and the multigrid-preconditioned CG solver
|
||||
pub mod poisson;
|
||||
pub mod polygon_sdf;
|
||||
/// SIMPLE algorithm implementation
|
||||
pub mod simple;
|
||||
/// GPU-accelerated SIMPLE algorithm implementation
|
||||
// #[cfg(feature = "cuda")]
|
||||
// pub mod simple_gpu;
|
||||
#[cfg(feature = "cuda")]
|
||||
pub mod simple_gpu;
|
||||
/// CSR matrix + Jacobi-BiCGSTAB for the curvilinear pressure equation
|
||||
pub mod sparse_bicgstab;
|
||||
|
||||
@@ -65,8 +62,8 @@ pub use overset::{
|
||||
OversetResult, OversetSolverState, ResidualBucket, StepTimers,
|
||||
};
|
||||
pub use piso::{PisoParameters, PisoResult, PisoSolver};
|
||||
// #[cfg(feature = "cuda")]
|
||||
// pub use piso_gpu::PisoGpuSolver;
|
||||
#[cfg(feature = "cuda")]
|
||||
pub use piso_gpu::PisoGpuSolver;
|
||||
pub use poisson::{
|
||||
LevelExport, MgPrecision, MgSmoother, MultigridParameters, PcgCache, PoissonProblem,
|
||||
PoissonSolution, export_hierarchy, vcycle_f32_reference, vcycle_f32_work,
|
||||
@@ -74,8 +71,8 @@ pub use poisson::{
|
||||
};
|
||||
pub use polygon_sdf::PolygonSdf;
|
||||
pub use simple::{ConvectionScheme, SimpleParameters, SimpleResult, SimpleSolver};
|
||||
// #[cfg(feature = "cuda")]
|
||||
// pub use simple_gpu::SimpleGpuSolver;
|
||||
#[cfg(feature = "cuda")]
|
||||
pub use simple_gpu::SimpleGpuSolver;
|
||||
|
||||
/// Common solver parameters
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user