diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 15:12:34 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-08 15:12:34 +0100 |
| commit | 1d797346f7b3e31b43baabdf37650658fe2f7142 (patch) | |
| tree | c1f20b3e41cc4f817e1b920087219cf0ffe521ec /examples/heterogeneous_computing | |
| parent | 6aa27007996656da995088aabecc273abd97db4b (diff) | |
| download | libs-lbm-1d797346f7b3e31b43baabdf37650658fe2f7142.tar.gz | |
Dangling things
Diffstat (limited to 'examples/heterogeneous_computing')
| -rw-r--r-- | examples/heterogeneous_computing/README.md | 7 | ||||
| -rw-r--r-- | examples/heterogeneous_computing/heterogeneous_computing.cpp | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/examples/heterogeneous_computing/README.md b/examples/heterogeneous_computing/README.md new file mode 100644 index 0000000..16463e6 --- /dev/null +++ b/examples/heterogeneous_computing/README.md @@ -0,0 +1,7 @@ +# Heterogeneous + +This is more intended as a thinking ground for a solution to LBM integrations for distributed computing. +In the end MPI does it correctly in a sense I would almost ask to separate in blocks. +But I want to learn, so no MPI. +Or rather MPI abstracted away. +MPI also has some discovery issues in edge cases where the network is a bit more complex. diff --git a/examples/heterogeneous_computing/heterogeneous_computing.cpp b/examples/heterogeneous_computing/heterogeneous_computing.cpp index 990652a..8a79354 100644 --- a/examples/heterogeneous_computing/heterogeneous_computing.cpp +++ b/examples/heterogeneous_computing/heterogeneous_computing.cpp @@ -1,21 +1,24 @@ #include <forstio/error.hpp> #include <iostream> + namespace kel { +namespace lbm { namespace sch { using namespace saw::schema; using KelConfig = Struct< Member<String,"resolution"> >; } +} -saw::error_or<void> real_main(int argc, char** argv){ +saw::error_or<void> lbm_main(int argc, char** argv){ return saw::make_void(); } } int main(int argc, char** argv){ - auto eov = kel::kel_main(argc, argv); + auto eov = kel::lbm_main(argc, argv); if(eov.is_error()){ auto& err = eov.get_error(); auto err_msg = err.get_message(); |
