@@ -33,14 +33,6 @@ BEGIN_C_DECLS
33
33
#define COLL_HAN_LOW_MODULES 2
34
34
#define COLL_HAN_UP_MODULES 2
35
35
36
- typedef struct {
37
- uint32_t umod ;
38
- uint32_t lmod ;
39
- uint32_t fs ;
40
- uint32_t ualg ;
41
- uint32_t us ;
42
- } selection ;
43
-
44
36
struct mca_bcast_argu_s {
45
37
mca_coll_task_t * cur_task ;
46
38
void * buff ;
@@ -203,21 +195,10 @@ typedef struct mca_coll_han_component_t {
203
195
uint32_t han_scatter_up_module ;
204
196
/* low level module for scatter */
205
197
uint32_t han_scatter_low_module ;
206
- /* whether enable auto tune */
207
- uint32_t han_auto_tune ;
208
198
/* whether we need reproducible results
209
199
* (but disables topological optimisations)
210
200
*/
211
201
uint32_t han_reproducible ;
212
- /* create a 3D array
213
- * num_processes (n): 2 4 8 16 32 64 (6)
214
- * num_core (c): 2 4 8 12 (4)
215
- * message size (m): 1 - 4194304 (23)
216
- */
217
- uint32_t han_auto_tune_n ;
218
- uint32_t han_auto_tune_c ;
219
- uint32_t han_auto_tune_m ;
220
- selection * han_auto_tuned ;
221
202
bool use_simple_algorithm [COLLCOUNT ];
222
203
223
204
/* Dynamic configuration rules */
@@ -342,9 +323,6 @@ int *mca_coll_han_topo_init(struct ompi_communicator_t *comm, mca_coll_han_modul
342
323
/* Utils */
343
324
void mca_coll_han_get_ranks (int * vranks , int root , int low_size , int * root_low_rank ,
344
325
int * root_up_rank );
345
- uint32_t han_auto_tuned_get_n (uint32_t n );
346
- uint32_t han_auto_tuned_get_c (uint32_t c );
347
- uint32_t han_auto_tuned_get_m (uint32_t m );
348
326
349
327
const char * mca_coll_han_colltype_to_str (COLLTYPE_T coll );
350
328
const char * mca_coll_han_topo_lvl_to_str (TOPO_LVL_T topo_lvl );
@@ -382,11 +360,11 @@ mca_coll_han_scatter_intra_dynamic(SCATTER_BASE_ARGS,
382
360
383
361
/* Bcast */
384
362
int mca_coll_han_bcast_intra_simple (void * buff ,
385
- int count ,
386
- struct ompi_datatype_t * dtype ,
387
- int root ,
388
- struct ompi_communicator_t * comm ,
389
- mca_coll_base_module_t * module );
363
+ int count ,
364
+ struct ompi_datatype_t * dtype ,
365
+ int root ,
366
+ struct ompi_communicator_t * comm ,
367
+ mca_coll_base_module_t * module );
390
368
void mac_coll_han_set_bcast_argu (mca_bcast_argu_t * argu , mca_coll_task_t * cur_task , void * buff ,
391
369
int seg_count , struct ompi_datatype_t * dtype ,
392
370
int root_up_rank , int root_low_rank ,
@@ -449,23 +427,23 @@ int mca_coll_han_reduce_t1_task(void *task_argu);
449
427
/* Allreduce */
450
428
int
451
429
mca_coll_han_allreduce_intra_simple (const void * sbuf ,
452
- void * rbuf ,
453
- int count ,
454
- struct ompi_datatype_t * dtype ,
455
- struct ompi_op_t * op ,
456
- struct ompi_communicator_t * comm ,
457
- mca_coll_base_module_t * module );
430
+ void * rbuf ,
431
+ int count ,
432
+ struct ompi_datatype_t * dtype ,
433
+ struct ompi_op_t * op ,
434
+ struct ompi_communicator_t * comm ,
435
+ mca_coll_base_module_t * module );
458
436
int
459
437
mca_coll_han_allreduce_reproducible_decision (struct ompi_communicator_t * comm ,
460
438
mca_coll_base_module_t * module );
461
439
int
462
440
mca_coll_han_allreduce_reproducible (const void * sbuf ,
463
441
void * rbuf ,
464
- int count ,
465
- struct ompi_datatype_t * dtype ,
466
- struct ompi_op_t * op ,
467
- struct ompi_communicator_t * comm ,
468
- mca_coll_base_module_t * module );
442
+ int count ,
443
+ struct ompi_datatype_t * dtype ,
444
+ struct ompi_op_t * op ,
445
+ struct ompi_communicator_t * comm ,
446
+ mca_coll_base_module_t * module );
469
447
470
448
void mac_coll_han_set_allreduce_argu (mca_allreduce_argu_t * argu ,
471
449
mca_coll_task_t * cur_task ,
@@ -497,11 +475,11 @@ int mca_coll_han_allreduce_t3_task(void *task_argu);
497
475
/* Scatter */
498
476
int
499
477
mca_coll_han_scatter_intra (const void * sbuf , int scount ,
500
- struct ompi_datatype_t * sdtype ,
501
- void * rbuf , int rcount ,
502
- struct ompi_datatype_t * rdtype ,
503
- int root ,
504
- struct ompi_communicator_t * comm , mca_coll_base_module_t * module );
478
+ struct ompi_datatype_t * sdtype ,
479
+ void * rbuf , int rcount ,
480
+ struct ompi_datatype_t * rdtype ,
481
+ int root ,
482
+ struct ompi_communicator_t * comm , mca_coll_base_module_t * module );
505
483
int mca_coll_han_scatter_us_task (void * task_argu );
506
484
int mca_coll_han_scatter_ls_task (void * task_argu );
507
485
void mac_coll_han_set_scatter_argu (mca_scatter_argu_t * argu ,
@@ -524,11 +502,11 @@ void mac_coll_han_set_scatter_argu(mca_scatter_argu_t * argu,
524
502
/* Gather */
525
503
int
526
504
mca_coll_han_gather_intra (const void * sbuf , int scount ,
527
- struct ompi_datatype_t * sdtype ,
528
- void * rbuf , int rcount ,
529
- struct ompi_datatype_t * rdtype ,
530
- int root ,
531
- struct ompi_communicator_t * comm , mca_coll_base_module_t * module );
505
+ struct ompi_datatype_t * sdtype ,
506
+ void * rbuf , int rcount ,
507
+ struct ompi_datatype_t * rdtype ,
508
+ int root ,
509
+ struct ompi_communicator_t * comm , mca_coll_base_module_t * module );
532
510
int mca_coll_han_gather_lg_task (void * task_argu );
533
511
int mca_coll_han_gather_ug_task (void * task_argu );
534
512
void mac_coll_han_set_gather_argu (mca_gather_argu_t * argu ,
@@ -548,19 +526,19 @@ void mac_coll_han_set_gather_argu(mca_gather_argu_t * argu,
548
526
int w_rank , bool noop , ompi_request_t * req );
549
527
int
550
528
mca_coll_han_gather_intra_simple (const void * sbuf , int scount ,
551
- struct ompi_datatype_t * sdtype ,
552
- void * rbuf , int rcount ,
553
- struct ompi_datatype_t * rdtype ,
554
- int root ,
555
- struct ompi_communicator_t * comm ,
556
- mca_coll_base_module_t * module );
529
+ struct ompi_datatype_t * sdtype ,
530
+ void * rbuf , int rcount ,
531
+ struct ompi_datatype_t * rdtype ,
532
+ int root ,
533
+ struct ompi_communicator_t * comm ,
534
+ mca_coll_base_module_t * module );
557
535
/* reordering after gather, for unordered ranks */
558
536
void
559
537
ompi_coll_han_reorder_gather (const void * sbuf ,
560
- void * rbuf , int rcount ,
561
- struct ompi_datatype_t * rdtype ,
562
- struct ompi_communicator_t * comm ,
563
- int * topo );
538
+ void * rbuf , int rcount ,
539
+ struct ompi_datatype_t * rdtype ,
540
+ struct ompi_communicator_t * comm ,
541
+ int * topo );
564
542
565
543
566
544
@@ -590,11 +568,12 @@ void mac_coll_han_set_allgather_argu(mca_allgather_argu_t * argu,
590
568
bool noop , bool is_mapbycore , int * topo , ompi_request_t * req );
591
569
int
592
570
mca_coll_han_allgather_intra_simple (const void * sbuf , int scount ,
593
- struct ompi_datatype_t * sdtype ,
594
- void * rbuf , int rcount ,
595
- struct ompi_datatype_t * rdtype ,
596
- struct ompi_communicator_t * comm ,
597
- mca_coll_base_module_t * module );
571
+ struct ompi_datatype_t * sdtype ,
572
+ void * rbuf , int rcount ,
573
+ struct ompi_datatype_t * rdtype ,
574
+ struct ompi_communicator_t * comm ,
575
+ mca_coll_base_module_t * module );
598
576
599
577
END_C_DECLS
578
+
600
579
#endif /* MCA_COLL_HAN_EXPORT_H */
0 commit comments