You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/10/19 08:13:39 UTC

[GitHub] [tvm] Jillian2017 opened a new issue #9316: static library is slower than shared

Jillian2017 opened a new issue #9316:
URL: https://github.com/apache/tvm/issues/9316


   Hi, 
   I want to build the tvm library in static format, the default is shared. 
   So I change the CMakelish.txt file as follpws:
       #add_library(tvm SHARED ${COMPILER_SRCS} ${RUNTIME_SRCS}) 
       #add_library(tvm_topi SHARED ${TOPI_SRCS}) 
       #add_library(tvm_runtime SHARED ${RUNTIME_SRCS}) 
       add_library(tvm STATIC ${COMPILER_SRCS} ${RUNTIME_SRCS})
       add_library(tvm_topi STATIC ${TOPI_SRCS})
       add_library(tvm_runtime STATIC ${RUNTIME_SRCS})
   After cmake and make, I get static library: libtvm.a, libtvm_runtime.a, libtvm_topi.a
   But in test, theses static library is slower than shared.
   Anyone can help me?
   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] masahi commented on issue #9316: static library is slower than shared

Posted by GitBox <gi...@apache.org>.
masahi commented on issue #9316:
URL: https://github.com/apache/tvm/issues/9316#issuecomment-947277338


   We need more details than that. Please open a thread in the discuss forum.


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [tvm] masahi closed issue #9316: static library is slower than shared

Posted by GitBox <gi...@apache.org>.
masahi closed issue #9316:
URL: https://github.com/apache/tvm/issues/9316


   


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

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org