samskalicky commented on a change in pull request #17270: [WIP] Dynamic custom 
operator GPU support
URL: https://github.com/apache/incubator-mxnet/pull/17270#discussion_r367698887
 
 

 ##########
 File path: include/mxnet/lib_api.h
 ##########
 @@ -602,12 +649,18 @@ class CustomOp {
     isSGop = true;
     return *this;
   }
+  ~CustomOp() {}
 
   /*! \brief operator name */
   const char* name;
+
+  /*! \brief each fcomp function is associated with a context speficied by a 
string*/
+  std::vector<const char*> forward_ctx_cstr;
+  std::vector<fcomp_t> forward_fp;
+  std::vector<const char*> backward_ctx_cstr;
 
 Review comment:
   should this be a map?

----------------------------------------------------------------
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

Reply via email to