Skip to content

Commit

Permalink
[RUNTIME] Move module export to the function level. (apache#4405)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and Xingyu Zhou committed Nov 26, 2019
1 parent 2d86322 commit 32fe90c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/tvm/runtime/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@ class Module : public ObjectRef {
*
* \endcode
*/
class TVM_DLL ModuleNode : public Object {
class ModuleNode : public Object {
public:
/*! \brief virtual destructor */
virtual ~ModuleNode() {}
TVM_DLL virtual ~ModuleNode() {}
/*!
* \return The per module type key.
* \note This key is used to for serializing custom modules.
*/
virtual const char* type_key() const = 0;
TVM_DLL virtual const char* type_key() const = 0;
/*!
* \brief Get a PackedFunc from module.
*
Expand All @@ -146,7 +146,7 @@ class TVM_DLL ModuleNode : public Object {
* If the function need resource from the module(e.g. late linking),
* it should capture sptr_to_self.
*/
virtual PackedFunc GetFunction(
TVM_DLL virtual PackedFunc GetFunction(
const std::string& name,
const ObjectPtr<Object>& sptr_to_self) = 0;
/*!
Expand Down

0 comments on commit 32fe90c

Please sign in to comment.