Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rdma): constrain C linkage to init
On builds where lttng is enabled, the inclusion of nccl_ofi_tracepoint.h pulls in <lttng/ust-utils.h>, which defines templates when __cplusplus is defined. Those templates cannot have C linkage. This file does not really need nccl_ofi_tracepoint.h; it only needs config.h to test for whether NVTX tracing is enabled and nvtx3 headers for conditionally defining the nvtx domain handles. It's also simultaneously true that the large majority of these headers are consumed only by rdma.c, so another option is to just move the guard down to where it's actually required. stack-info: PR: aws#591, branch: aws-nslick/stack/32 Signed-off-by: Nicholas Sielicki <nslick@amazon.com>
- Loading branch information