Specialize blocked root boundary mode at compile time

This commit is contained in:
Frank14f committed 2026-10-21 18:35:27 +08:00
1 parent fce24a64e8
commit 3a374faace
13 files changed
+127 -39

No files matched your search

+1
View File
@@ -97,5 +97,6 @@ def test_evolved_ghost_snapshot_and_physical_download():
with pytest.raises(ValueError, match="finite"):
backend.initialize(*arrays)
assert backend._levels[0].kernel == host.compiler.load_module.return_value.get_function("BlockChannelStep")
assert [call.kwargs["block_root_bc"] for call in host.compiler.generate_config.call_args_list] == [2, 0]
finally:
backend.close()