/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocrand/checkouts/docs-6.1.2/library/include/rocrand/rocrandapi.h Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocrand/checkouts/docs-6.1.2/library/include/rocrand/rocrandapi.h Source File#

API library: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocrand/checkouts/docs-6.1.2/library/include/rocrand/rocrandapi.h Source File
API library
rocrandapi.h
1 #ifndef ROCRAND_ROCRANDAPI_H_
2 #define ROCRAND_ROCRANDAPI_H_
3 
5 #ifndef ROCRANDAPI
6  #ifdef _WIN32
7  #ifdef rocrand_EXPORTS
8  /* We are building this library */
9  #define ROCRANDAPI __declspec(dllexport)
10  #else
11  /* We are using this library */
12  #define ROCRANDAPI __declspec(dllimport)
13  #endif
14  #else
15  #define ROCRANDAPI __attribute__((visibility("default")))
16  #endif
17 #endif
19 
20 #endif // ROCRAND_ROCRANDAPI_H_