shifeiwen opened a new issue, #16265:
URL: https://github.com/apache/tvm/issues/16265

   Thanks for participating in the TVM community! We use https://discuss.tvm.ai 
for any general usage questions and discussions. The issue tracker is used for 
actionable items such as feature proposals discussion, roadmaps, and bug 
tracking.  You are always welcomed to post on the forum first :smile_cat:
   
   Issues that are inactive for a period of time may get closed. We adopt this 
policy so that we won't lose track of actionable issues that may fall at the 
bottom of the pile. Feel free to reopen a new one if you feel there is an 
additional problem that needs attention when an old one gets closed.
   
   ### Expected behavior
   
   sucess build on arm windows
   
   ### Actual behavior
   I want to try mlc-llm opencl backend on arm windows and when I try to 
compile tvm I get the error. 
C:/Users/Administrator/wbq/git/mlc-llm/mlc-llm/3rdparty/tvm/src/runtime/builtin_fp16.cc:46:18:
 error: dllimport cannot be applied to non-inline function definition
      46 | TVM_DLL uint16_t __gnu_f2h_ieee (float a) I'm using llvm17, and when 
I was using msvc, I would get another error that said I had a compiler error. 
Can you help me look at the error
   
   When I use LLVM's Clang, the above error will burst, and the error will be 
reported in the following picture
   
![pc7mWITA3h](https://github.com/apache/tvm/assets/147359299/b25beccf-eab9-4304-9512-55820bee0b36)
   When I use MSVC's clang, the above error is broken, and the error is more 
detailed in the picture below
   
![ML3ijvwicl](https://github.com/apache/tvm/assets/147359299/d04b05b1-e0ca-4bfe-9a41-1b52c6d46abb)
   
   Here's my compiler configuration
   1.for llvm
   
![8gmQgnGQr9](https://github.com/apache/tvm/assets/147359299/15de1a1e-2d49-4a97-b626-f632420a87de)
   2.msvc
   
![nfBMoH7spl](https://github.com/apache/tvm/assets/147359299/ab58fdcc-2f4d-4afd-abdd-654498c59369)
   
   
   
   ### Environment
   
   system : win11 arm on windows
   
![image](https://github.com/apache/tvm/assets/147359299/e3a8a81e-c2b0-4afd-8b9e-218983915a62)
   tvm : with mlc download  5aa839378d4457e528eb8fce2ab1a0295007d9d
   
   ### Steps to reproduce
   
   cmake .. & make
   ### Triage
   
   Please refer to the list of label tags 
[here](https://github.com/apache/tvm/wiki/Issue-Triage-Labels) to find the 
relevant tags and add them below in a bullet format (example below).
   
   * needs-triage
   


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