CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
libfabric_api.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
13#ifndef LIBFABRIC_API_H__
14#define LIBFABRIC_API_H__
15
16#include "cdi_core_api.h"
17#include "cdi_utility_api.h"
18
19//*********************************************************************************************************************
20//***************************************** START OF DEFINITIONS AND TYPES ********************************************
21//*********************************************************************************************************************
22
23#ifdef _WIN32
24#define LIBFABRIC_1_9_FILENAME_STRING ("libfabric.dll")
25#define LIBFABRIC_NEW_FILENAME_STRING ("libfabric_new.dll")
26#else
28#define LIBFABRIC_1_9_FILENAME_STRING ("libfabric.so")
29
31#define LIBFABRIC_NEW_FILENAME_STRING ("libfabric_new.so")
32#endif
33
34//*********************************************************************************************************************
35//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
36//*********************************************************************************************************************
37
46
55
56#endif // LIBFABRIC_API_H__
This file declares the public API data types, structures and functions that comprise the CDI low-leve...
CdiReturnStatus
Values used for API function return codes.
Definition cdi_core_api.h:189
The declarations in this header file correspond to the definitions in cdi_utility_api....
#define CDI_INTERFACE
Specify C linkage when compiling as C++ and define API interface export for Windows.
Definition cdi_utility_api.h:34
CDI_INTERFACE CdiReturnStatus LoadLibfabricMainline(LibfabricApi **ret_api_ptr)
Dynamically load libfabric mainline and return a V-table to the API used by the SDK.
CDI_INTERFACE CdiReturnStatus LoadLibfabric1_9(LibfabricApi **ret_api_ptr)
Dynamically load libfabric 1.9 and return a V-table to the API used by the SDK.
Definition libfabric_api.c:165
V-table interface to the libfabric API. This allows multiple versions of libfabric to be used within ...
Definition adapter_efa.h:39