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/04/30 11:50:37 UTC

[GitHub] [tvm] cgerum opened a new pull request #7954: Correctly build with -runtime=c without -system-lib

cgerum opened a new pull request #7954:
URL: https://github.com/apache/tvm/pull/7954


   This is just a little inconsistency I noticed when trying to run the following script:
   
   ```
   import tvm
   import tvm.testing
   from tvm import te
   import numpy as np
   from tvm.contrib import cc
   
   tgt = "llvm  -runtime=c"
   
   n = te.var("n")
   A = te.placeholder((n,), name="A")
   B = te.placeholder((n,), name="B")
   C = te.compute(A.shape, lambda i: A[i] + B[i], name="C")
   
   s = te.create_schedule(C.op)
   
   
   fadd = tvm.build(s, [A, B, C], tgt, name="myadd")
   ```
   


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

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



[GitHub] [tvm] tqchen commented on pull request #7954: Correctly build with -runtime=c without -system-lib

Posted by GitBox <gi...@apache.org>.
tqchen commented on pull request #7954:
URL: https://github.com/apache/tvm/pull/7954#issuecomment-830619251


   Thanks @cgerum !


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

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



[GitHub] [tvm] tqchen merged pull request #7954: Correctly build with -runtime=c without -system-lib

Posted by GitBox <gi...@apache.org>.
tqchen merged pull request #7954:
URL: https://github.com/apache/tvm/pull/7954


   


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

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