rtx-cfd legacy GPU tests: the two point-source Poisson tests expect the sign of ∇²φ = f
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
CI / Format Check (push) Failing after 5s
CI / Clippy Check (push) Failing after 4s
CI / Build (ubuntu-latest) (push) Failing after 5s
Performance Benchmarks / Run Benchmarks (push) Failing after 6s
Documentation / Build User Guide (push) Successful in 4s
CI / Build CPU-Only (Explicit) (push) Failing after 48s
Documentation / Build API Documentation (push) Failing after 49s
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
CI / Format Check (push) Failing after 5s
CI / Clippy Check (push) Failing after 4s
CI / Build (ubuntu-latest) (push) Failing after 5s
Performance Benchmarks / Run Benchmarks (push) Failing after 6s
Documentation / Build User Guide (push) Successful in 4s
CI / Build CPU-Only (Explicit) (push) Failing after 48s
Documentation / Build API Documentation (push) Failing after 49s
This commit is contained in:
@@ -420,7 +420,7 @@ mod gpu_kernel_tests {
|
|||||||
|
|
||||||
// Check that center has highest value
|
// Check that center has highest value
|
||||||
let center_val = phi_result[center];
|
let center_val = phi_result[center];
|
||||||
assert!(center_val > 0.0, "Center value should be positive");
|
assert!(center_val < 0.0, "Center value should be negative (∇²φ = f, a positive source)");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -256,7 +256,8 @@ mod cuda_tests {
|
|||||||
|
|
||||||
// Solution should be non-zero in the source region
|
// Solution should be non-zero in the source region
|
||||||
let center_idx = (ny / 2) * nx + (nx / 2);
|
let center_idx = (ny / 2) * nx + (nx / 2);
|
||||||
assert!(result[center_idx] > 0.01);
|
// ∇²φ = f with zero boundaries: a positive source makes a NEGATIVE bump.
|
||||||
|
assert!(result[center_idx] < -0.01);
|
||||||
|
|
||||||
// Boundaries should remain zero (Dirichlet BC)
|
// Boundaries should remain zero (Dirichlet BC)
|
||||||
assert_relative_eq!(result[0], 0.0, epsilon = TEST_TOLERANCE);
|
assert_relative_eq!(result[0], 0.0, epsilon = TEST_TOLERANCE);
|
||||||
|
|||||||
Reference in New Issue
Block a user