Program Listing for File rocrandapi.h
↰ Return to documentation for file (library/include/rocrand/rocrandapi.h
)
#ifndef ROCRAND_ROCRANDAPI_H_
#define ROCRAND_ROCRANDAPI_H_
#ifndef ROCRANDAPI
#ifdef WIN32
#ifdef rocrand_EXPORTS
/* We are building this library */
#define ROCRANDAPI __declspec(dllexport)
#else
/* We are using this library */
#define ROCRANDAPI __declspec(dllimport)
#endif
#else
#define ROCRANDAPI __attribute__((visibility("default")))
#endif
#endif
#endif // ROCRAND_ROCRANDAPI_H_