Ignore:
Timestamp:
06/01/18 19:36:12 (3 years ago)
Author:
yushan
Message:

optimisation partially finished. To do : special case for intercomm_create and intercomm_merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/ep_intercomm_kernel.cpp

    r1517 r1518  
    554554        { 
    555555          target = i; 
     556          (*newintercomm)->ep_comm_ptr->intercomm->intercomm_tag = target; 
    556557          break; 
    557558        } 
     
    559560      (*newintercomm)->ep_comm_ptr->intercomm->intercomm_rank_map = (*newintercomm)->ep_comm_ptr->comm_list[target]->ep_comm_ptr->intercomm->intercomm_rank_map; 
    560561      (*newintercomm)->ep_comm_ptr->intercomm->local_rank_map     = (*newintercomm)->ep_comm_ptr->comm_list[target]->ep_comm_ptr->intercomm->local_rank_map; 
     562    } 
     563    else 
     564    { 
     565      (*newintercomm)->ep_comm_ptr->intercomm->intercomm_tag = -1; 
    561566    } 
    562567 
Note: See TracChangeset for help on using the changeset viewer.