You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/01/25 00:48:37 UTC

[GitHub] [incubator-mxnet] samskalicky edited a comment on issue #17270: Dynamic custom operator GPU support

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:
   ```
   template <class T>
   class Registry {
    public:
     /*!
      * \brief get singleton pointer to class
      * \returns pointer to class
      */
     static Registry* get() {
       static Registry inst 
   #if !defined(_WIN32) && !defined(_WIN64) && !defined(__WINDOWS__)
   __attribute__ ((visibility ("hidden")));
   #else
   ;
   #endif
       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:
users@infra.apache.org


With regards,
Apache Git Services