Skip to content

Commit

Permalink
[Windows][Fix] Add TVM_DLL to Disco Session Creation (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
junrushao authored Sep 13, 2023
1 parent 7efa023 commit 0667a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tvm/runtime/disco/session.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ class SessionObj : public Object {
class Session : public ObjectRef {
public:
/*! \brief Create a session backed by a thread pool of workers */
static Session ThreadedSession(int num_workers);
static TVM_DLL Session ThreadedSession(int num_workers);
TVM_DEFINE_MUTABLE_NOTNULLABLE_OBJECT_REF_METHODS(Session, ObjectRef, SessionObj);
};

Expand Down

0 comments on commit 0667a32

Please sign in to comment.