samskalicky edited a comment on issue #17270: Dynamic custom operator GPU support URL: https://github.com/apache/incubator-mxnet/pull/17270#issuecomment-578355722 @rondogency can you try this: ``` #if defined(_WIN32) && defined(_WIN64) && defined(__WINDOWS__) #define VISIBILITY #else #define VISIBILITY __attribute__ ((visibility ("hidden"))) #endif template <class T> class Registry { public: /*! * \brief get singleton pointer to class * \returns pointer to class */ static Registry* get() VISIBILITY { static Registry inst; return &inst; } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
