rtx-cfd CUDA Poisson kernels: solve ∇²φ = f as documented (the updates subtracted the source with the wrong sign); the Jacobi test's stop is absolute on a source of size 2π²
CI / Build (macos-latest) (push) Waiting to run
CI / Test (macos-latest) (push) Blocked by required conditions
CI / Test (ubuntu-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (macos-latest) (push) Blocked by required conditions
CI / Python Bindings (maturin) (ubuntu-latest) (push) Blocked by required conditions
CI / WASM Build + Size Check (push) Blocked by required conditions
CI / Distributed Training Tests (push) Blocked by required conditions
CI / CI Success (push) Blocked by required conditions
Documentation / Build API Documentation (push) Failing after 5s
CI / Build CPU-Only (Explicit) (push) Failing after 6s
CI / Build (ubuntu-latest) (push) Failing after 7s
Documentation / Build User Guide (push) Successful in 6s
CI / Format Check (push) Failing after 13s
CI / Clippy Check (push) Failing after 36s
Performance Benchmarks / Run Benchmarks (push) Successful in 1m42s

This commit is contained in:
Omar Sobh
2026-09-16 07:34:28 -05:00
parent 52fd40f8f2
commit eba2f61ddf
2 changed files with 5 additions and 5 deletions
@@ -213,7 +213,7 @@ mod cuda_tests {
// Jacobi needs O(n²) sweeps on this grid and its residual floor in f32 sits
// above 1e-6; the accuracy check below is the pin, the stop is loose.
let max_iterations = 20_000;
let tolerance = 1e-4;
let tolerance = 1e-2; // absolute, on a source of size 2π²
let iterations = poisson_kernel.solve_2d(
&mut d_phi,
&d_source,