[Apache TVM Discuss] [Questions] Error when executing code targeted to opencl

2020-09-06 Thread Akhil via Apache TVM Discuss
Hey @aurel333 thanks , Like you said the llvm which I used to build tvm was the wrong one. --- [Visit Topic](https://discuss.tvm.apache.org/t/error-when-executing-code-targeted-to-opencl/7781/3) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe fro

[TVM Discuss] [Questions] Error when executing code targeted to opencl

2020-09-01 Thread Aurel333 via TVM Discuss
I got this error before. It was caused by LLVM returning a generic target triple as the default triple. Indeed TVM asks LLVM for the default target triple during compilation and I guess that LLVM has it set to generic and does not have a codegen for it. A fast fix is to specify which triple T

[TVM Discuss] [Questions] Error when executing code targeted to opencl

2020-08-31 Thread Akhil via TVM Discuss
I get the following error when executing simple code targeted at opencl. This is after I have installed a new opencl platform called pocl. Furthermore this error occurs even I if just use llvm target and cpu I cant figure out why ?. ![desktop|690x115](upload://yUOHYpfXs6jRXCgOLEVOcuBQKyr.png)