embedded3: the device download carries the previous step's field (the control-volume route's unsteady term read the initial profile)
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 / Build (macos-latest) (push) Waiting to run
CI / Build (ubuntu-latest) (push) Failing after 3s
CI / Clippy Check (push) Failing after 3s
CI / Format Check (push) Failing after 4s
Performance Benchmarks / Run Benchmarks (push) Failing after 5s
Documentation / Build User Guide (push) Successful in 7s
CI / Build CPU-Only (Explicit) (push) Failing after 1m1s
Documentation / Build API Documentation (push) Failing after 1m2s

Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Omar Sobh
2026-09-17 17:25:32 -05:00
co-authored by Claude Fable 5.1
parent 338d66f85e
commit 4fecb3098c
@@ -251,6 +251,17 @@ impl DeviceStep {
.memcpy_dtoh(&self.p_prime, &mut field.p_prime)
.expect("p'");
rt.stream.memcpy_dtoh(&self.sp, &mut field.sp).expect("sp");
// The previous step's field too (the control-volume route's
// unsteady term reads it).
rt.stream
.memcpy_dtoh(&self.u_old, &mut field.u_old)
.expect("u_old");
rt.stream
.memcpy_dtoh(&self.v_old, &mut field.v_old)
.expect("v_old");
rt.stream
.memcpy_dtoh(&self.w_old, &mut field.w_old)
.expect("w_old");
rt.stream.synchronize().expect("sync");
}