Skip to content

Commit

Permalink
[Huawei]for association algorithm of binomial tree, set MAX_PHASES 32
Browse files Browse the repository at this point in the history
Offering:hpc
  • Loading branch information
hhb1029 committed Jun 20, 2022
1 parent 2959f5a commit c316021
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builtin/plan/builtin_binomial_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* MAX_PHASES for tree plan is 4
* MAX_PHASES for recursive plan is 4 (namely it support 2^4 nodes !)
*/
#define MAX_PHASES 15 /* till now, binomial tree can only support 2^MAX_PHASES process at most */
#define MAX_PHASES 32 /* till now, binomial tree can only support 2^MAX_PHASES process at most */


ucs_config_field_t ucg_builtin_binomial_tree_config_table[] = {
Expand Down
2 changes: 1 addition & 1 deletion builtin/plan/builtin_recursive.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <ucg/api/ucg_mpi.h>

#define MAX_PEERS 100
#define MAX_PHASES 16
#define MAX_PHASES 32
#define NUM_TWO 2
#define FACTOR 2

Expand Down
2 changes: 1 addition & 1 deletion builtin/plan/builtin_trees.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "builtin_plan.h"

#define MAX_PEERS (100)
#define MAX_PHASES (16)
#define MAX_PHASES (32)

ucs_config_field_t ucg_builtin_trees_config_table[] = {
{"INTER_TREE_TYPE", "1", "inter-node tree type. (0: binomial tree, 1: k-nomial tree)\n",
Expand Down

0 comments on commit c316021

Please sign in to comment.