14 lines
432 B
14 lines
432 B
#ifndef __PADDLE_PADDLE_CAPI_CONFIG_H_INCLUDED__
|
|
#define __PADDLE_PADDLE_CAPI_CONFIG_H_INCLUDED__
|
|
|
|
typedef @PADDLE_FLOAT_TYPE@ paddle_real;
|
|
|
|
#define __PADDLE_VERSION__ "@PADDLE_VERSION@"
|
|
#define __PADDLE_COMMIT__ "@PADDLE_GIT_COMMIT@"
|
|
|
|
// Since we only support linux and macos in compile, always use clang or
|
|
// gcc 4.8+. DLL_IMPORT/DLL_EXPORT is as simple as below.
|
|
#define PD_API __attribute__((visibility("default")))
|
|
|
|
#endif
|