Skip to content

Commit

Permalink
#170: Increase trigger value for parallel processing of Sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
annoviko committed Feb 13, 2018
1 parent 9057c85 commit d10a540
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES
Expand Up @@ -5,6 +5,9 @@ CHANGE NOTES FOR 0.8.0 (STARTED Oct 23, 2017)
------------------------------------------------------------------------

GENERAL CHANGES:
- Parallel implementation of Sync-family algorithms for C/C++ implementation (CCORE) only (ccore.sync).
See: https://github.com/annoviko/pyclustering/issues/170

- C/C++ implementation is used by default to increase performance.
See: https://github.com/annoviko/pyclustering/issues/393

Expand Down
2 changes: 1 addition & 1 deletion ccore/src/nnet/sync.cpp
Expand Up @@ -50,7 +50,7 @@ namespace ccore {
namespace nnet {


const std::size_t sync_network::DEFAULT_DATA_SIZE_PARALLEL_PROCESSING = 200;
const std::size_t sync_network::DEFAULT_DATA_SIZE_PARALLEL_PROCESSING = 800;

const std::size_t sync_network::MAXIMUM_MATRIX_REPRESENTATION_SIZE = 4096;

Expand Down
1 change: 1 addition & 0 deletions ccore/tst/utest-sync.cpp
Expand Up @@ -128,6 +128,7 @@ TEST(utest_sync, dynamic_convergance_36_oscillators_grid_four_parallel) {
template_dynamic_convergence(36, solve_type::FORWARD_EULER, connection_t::CONNECTION_GRID_FOUR, initial_type::EQUIPARTITION, 0);
}


static void template_static_convergence(const unsigned int number_oscillators, const solve_type solver, const connection_t type, const initial_type initial, const std::size_t p_trigger) {
sync_network network(number_oscillators, 1.0, 0, type, initial);

Expand Down

0 comments on commit d10a540

Please sign in to comment.