solve.fluid: backend "cpu" (the default) or "gpu"

The CPU stays the default, so every existing result and fixture is
bit-identical; "gpu" steps on the device FIELDCRAFT_GPU picks through the
registered backend, and is an error when the build has none. The desktop
app and the CLI (hence the MCP server) register fieldcraft-lbm-gpu at
start; the summary names what stepped. Hostile values are errors.

Part of #529.
This commit is contained in:
Christian Svensson authored and Irakli Kourtis committed 2026-10-17 07:23:40 -04:00
1 parent b123f31d47
commit 48cc80bef5
8 files changed
+26 -2

No files matched your search

Generated
+2
View File
@@ -1271,6 +1271,7 @@ dependencies = [
"embed-resource",
"fieldcraft-engine",
"fieldcraft-io",
"fieldcraft-lbm-gpu",
"fieldcraft-ui-egui",
"fieldcraft-update",
"getrandom 0.4.3",
@@ -1290,6 +1291,7 @@ dependencies = [
"fieldcraft-engine",
"fieldcraft-gpu",
"fieldcraft-io",
"fieldcraft-lbm-gpu",
"fieldcraft-mcp",
"fieldcraft-render",
"fieldcraft-update",