Lunderberg commented on issue #8805:
URL: https://github.com/apache/tvm/issues/8805#issuecomment-902859958


   Hmm, a vulkan-specific undefined symbol in tvm_runtime should have been 
caught during the CI build since #8178 (runs on linux), and in the Windows cuda 
build.  I can verify on my linux machine that the `libtvm_runtime.so` doesn't 
include any references to source map.
   
   Looking at `source_map.h`, it does look like the `TVM_DLL` macro on MSVC is 
expanding to `__declspec(dllexport)` in both `libtvm.dll` and 
`libtvm_runtime.dll`, which is causing the missing symbol errors.  Does this 
happen with the cuda runtime as well?   If the unintentional dllexport is the 
cause, then I would expect it to occur for anything in `src/runtime` that 
imports `source_map.h`, which would be every runtime.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to