Python wrapper: add hint_map to domain decomposition (#827)
- wraps `partition_hint` struct for python - `partition_hint`struct in `load_balance.hpp` is adjusted in a way that in case of zero unsigned int `cpu_group_size`/`gpu_group_size` it is set to the default value (via setter/getter) - adds documentation for `partition_hint` - adds testing for `domain_decomposition` including `partition_hint` (in unit and unit_distributed) - adds `partition_hint` in example `ring.py` - corrects `config.cpp` (and doc) to test for `ARB_GPU_ENABLED` instead of `ARB_WITH_GPU` Fixes #776 Addresses #799, #769
Showing
- arbor/partition_load_balance.cpp 7 additions, 0 deletionsarbor/partition_load_balance.cpp
- doc/py_domdec.rst 60 additions, 2 deletionsdoc/py_domdec.rst
- doc/py_hardware.rst 1 addition, 1 deletiondoc/py_hardware.rst
- python/config.cpp 1 addition, 1 deletionpython/config.cpp
- python/domain_decomposition.cpp 37 additions, 5 deletionspython/domain_decomposition.cpp
- python/example/ring.py 10 additions, 1 deletionpython/example/ring.py
- python/test/unit/runner.py 3 additions, 0 deletionspython/test/unit/runner.py
- python/test/unit/test_domain_decompositions.py 258 additions, 0 deletionspython/test/unit/test_domain_decompositions.py
- python/test/unit_distributed/runner.py 4 additions, 1 deletionpython/test/unit_distributed/runner.py
- python/test/unit_distributed/test_contexts_mpi4py.py 1 addition, 1 deletionpython/test/unit_distributed/test_contexts_mpi4py.py
- python/test/unit_distributed/test_domain_decompositions.py 464 additions, 0 deletionspython/test/unit_distributed/test_domain_decompositions.py
Please register or sign in to comment