@@ -316,7 +316,7 @@ ucs_status_t mca_btl_uct_am_handler (void *arg, void *data, size_t length, unsig
316
316
return UCS_OK ;
317
317
}
318
318
319
- #if UCT_API > UCT_VERSION (1 , 7 )
319
+ #if UCT_API >= UCT_VERSION (1 , 7 )
320
320
static int mca_btl_uct_component_process_uct_md (uct_component_h component , uct_md_resource_desc_t * md_desc ,
321
321
char * * allowed_ifaces )
322
322
#else
@@ -356,7 +356,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
356
356
md = OBJ_NEW (mca_btl_uct_md_t );
357
357
358
358
359
- #if UCT_API > UCT_VERSION (1 , 7 )
359
+ #if UCT_API >= UCT_VERSION (1 , 7 )
360
360
uct_md_config_read (component , NULL , NULL , & uct_config );
361
361
uct_md_open (component , md_desc -> md_name , uct_config , & md -> uct_md );
362
362
#else
@@ -388,7 +388,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
388
388
return OPAL_ERR_NOT_AVAILABLE ;
389
389
}
390
390
391
- #if UCT_API > UCT_VERSION (1 , 7 )
391
+ #if UCT_API >= UCT_VERSION (1 , 7 )
392
392
module -> uct_component = component ;
393
393
#endif
394
394
@@ -417,7 +417,7 @@ static int mca_btl_uct_component_process_uct_md (uct_md_resource_desc_t *md_desc
417
417
return OPAL_SUCCESS ;
418
418
}
419
419
420
- #if UCT_API > UCT_VERSION (1 , 7 )
420
+ #if UCT_API >= UCT_VERSION (1 , 7 )
421
421
static int mca_btl_uct_component_process_uct_component (uct_component_h component , char * * allowed_ifaces )
422
422
{
423
423
uct_component_attr_t attr = {.field_mask = UCT_COMPONENT_ATTR_FIELD_NAME |
@@ -451,7 +451,7 @@ static int mca_btl_uct_component_process_uct_component (uct_component_h componen
451
451
452
452
return OPAL_SUCCESS ;
453
453
}
454
- #endif /* UCT_API > UCT_VERSION(1, 7) */
454
+ #endif /* UCT_API >= UCT_VERSION(1, 7) */
455
455
456
456
/*
457
457
* UCT component initialization:
@@ -487,7 +487,7 @@ static mca_btl_base_module_t **mca_btl_uct_component_init (int *num_btl_modules,
487
487
488
488
mca_btl_uct_component .module_count = 0 ;
489
489
490
- #if UCT_API > UCT_VERSION (1 , 7 )
490
+ #if UCT_API >= UCT_VERSION (1 , 7 )
491
491
uct_component_h * components ;
492
492
unsigned num_components ;
493
493
@@ -521,7 +521,7 @@ static mca_btl_base_module_t **mca_btl_uct_component_init (int *num_btl_modules,
521
521
522
522
uct_release_md_resource_list (resources );
523
523
524
- #endif /* UCT_API > UCT_VERSION(1, 7) */
524
+ #endif /* UCT_API >= UCT_VERSION(1, 7) */
525
525
526
526
opal_argv_free (allowed_ifaces );
527
527
mca_btl_uct_modex_send ();
0 commit comments