From 7482d95a42083277b20fb2a855459c17b4d85fc7 Mon Sep 17 00:00:00 2001 From: Frank14f <1515444314@qq.com> Date: Wed, 28 Oct 2026 09:57:15 +0800 Subject: [PATCH] Update channel CPU shim include and retain frozen projected driver --- tests/unit/cpp/channel_root.cpp | 1 + tests/validation/multigrid/check_projected_pairs.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/cpp/channel_root.cpp b/tests/unit/cpp/channel_root.cpp index 2374044..f6518b8 100644 --- a/tests/unit/cpp/channel_root.cpp +++ b/tests/unit/cpp/channel_root.cpp @@ -42,6 +42,7 @@ inline float __fdiv_rn(float a,float b){return a/b;} #include "step/one_step_double.cu" #else #include "core/cell_kind.cuh" +#include "operators/block_collision.cuh" #include "step/block_channel.cu" #endif int main(){ diff --git a/tests/validation/multigrid/check_projected_pairs.py b/tests/validation/multigrid/check_projected_pairs.py index e7562b4..53109f7 100644 --- a/tests/validation/multigrid/check_projected_pairs.py +++ b/tests/validation/multigrid/check_projected_pairs.py @@ -269,7 +269,7 @@ def remap_case(ctx, shifted, raw): refinements=refs[:2],level_blocks=blocks[:3],explosion='projected_linear') as run: initialize(run); run.step(1) before = snapshot(run,raw) - with run.remap_finest([(22,22,42,42),(72,68,76,76)]) as clone: + with run.remap_child([(22,22,42,42),(72,68,76,76)]) as clone: if clone._explosion != 'projected_linear' or any(p.neighbors is None for p in clone._pairs): raise AssertionError('remap lost projected selection') if clone.step_count != 1: raise AssertionError('remap lost synchronized count')