Skip to content

Commit e492149

Browse files
committed
Fix compilation issue in OFI with CUDA
1 parent a9a9d41 commit e492149

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
#include "opal/util/argv.h"
2121
#include "opal/util/printf.h"
2222
#include "opal/mca/common/ofi/common_ofi.h"
23+
#if OPAL_CUDA_SUPPORT
24+
#include "opal/mca/common/cuda/common_cuda.h"
25+
#endif /* OPAL_CUDA_SUPPORT */
2326

2427
static int ompi_mtl_ofi_component_open(void);
2528
static int ompi_mtl_ofi_component_query(mca_base_module_t **module, int *priority);

0 commit comments

Comments
 (0)