From c860783c8117e13b814e9bcf8218b3d6f7d16166 Mon Sep 17 00:00:00 2001 From: Omar Sobh Date: Fri, 25 Sep 2026 02:56:28 -0500 Subject: [PATCH] =?UTF-8?q?embedded3=20R6-2=20step=202:=20the=20device=20u?= =?UTF-8?q?b/impose=20default=20ON=20(RTX=5FE3=5FUB=5FDEVICE=3D0=20restore?= =?UTF-8?q?s=20the=20host)=20=E2=80=94=20its=20two-period=203D=20gate=20he?= =?UTF-8?q?ld;=20merged-tree=20gate:=20slab=20ny=2062=20default=20/=20BAND?= =?UTF-8?q?=5FCHECK=20/=20RTX=5FE3=5FGEOM=5FDEVICE=3D0=20all=20byte-identi?= =?UTF-8?q?cal=20to=20main's=20base,=200=20differs=20over=202,349=20geomet?= =?UTF-8?q?ry+mask+table=20and=201,174=20ub+impose=20checks;=20device=20su?= =?UTF-8?q?ites=202/2,=203/3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 (1M context) --- .../solvers/incompressible/embedded3/step/device/geom.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/specialized/rtx-cfd/src/solvers/incompressible/embedded3/step/device/geom.rs b/crates/specialized/rtx-cfd/src/solvers/incompressible/embedded3/step/device/geom.rs index 7747112..abeb80a 100644 --- a/crates/specialized/rtx-cfd/src/solvers/incompressible/embedded3/step/device/geom.rs +++ b/crates/specialized/rtx-cfd/src/solvers/incompressible/embedded3/step/device/geom.rs @@ -163,10 +163,12 @@ fn upload_pairs(v: &[[f64; 2]]) -> CudaSlice { .expect("upload pairs") } -/// R6-2 step 2 (`RTX_E3_UB_DEVICE=1`, default off): the band's surface -/// velocity at the foot and the end-of-rebuild imposition on the device. +/// R6-2 step 2: the band's surface velocity at the foot and the +/// end-of-rebuild imposition on the device — default ON since its +/// two-period 3D gate held (2026-09-25); `RTX_E3_UB_DEVICE=0` restores the +/// host. Bodies without a device velocity fall back to the host. pub(crate) fn ub_device_enabled() -> bool { - std::env::var("RTX_E3_UB_DEVICE").is_ok_and(|v| v == "1") + !std::env::var("RTX_E3_UB_DEVICE").is_ok_and(|v| v == "0") } /// R6-2 step 2: the body's surface velocity in the device's form at one