From 0667a32e09f4823f73a466f3792b44316bb7fb45 Mon Sep 17 00:00:00 2001 From: Junru Shao Date: Tue, 12 Sep 2023 23:03:50 -0700 Subject: [PATCH] [Windows][Fix] Add `TVM_DLL` to Disco Session Creation (#289) --- include/tvm/runtime/disco/session.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tvm/runtime/disco/session.h b/include/tvm/runtime/disco/session.h index e28fb7144c..af29f74aaa 100644 --- a/include/tvm/runtime/disco/session.h +++ b/include/tvm/runtime/disco/session.h @@ -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); };