Skip to content

Commit

Permalink
feat(rdma): constrain C linkage to init
Browse files Browse the repository at this point in the history
stack-info: PR: #591, branch: aws-nslick/stack/32
  • Loading branch information
aws-nslick committed Sep 12, 2024
1 parent abbf61b commit d1fc98e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions include/nccl_ofi_rdma.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
#ifndef NCCL_OFI_RDMA_H_
#define NCCL_OFI_RDMA_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <rdma/fabric.h>

#include "nccl_ofi.h"
Expand Down Expand Up @@ -808,6 +804,11 @@ typedef struct nccl_net_ofi_rdma_device {
#endif
} nccl_net_ofi_rdma_device_t;


#ifdef __cplusplus
extern "C" {
#endif

/*
* @brief Initialize plugin with rdma protocol structures
*/
Expand Down

0 comments on commit d1fc98e

Please sign in to comment.