You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by Abelardo López-Lagunas via Apache TVM Discuss <no...@discuss.tvm.ai> on 2020/11/06 19:09:29 UTC

[Apache TVM Discuss] [Questions] List of CUDA targets


Hello,

   I know there is a discussion underway for standardizing how the targets are specified but I wanted to know if there is a list of accepted CUDA target architectures in the current API. For example in the current API `tvm.target.cuda(model='unknown', options=None)` calls for a `model` and in the documentation it gives `1080ti` as the example. I have tried `2080ti` but not sure if it would accept `vt100`. Looking at the code it seems that the `unknown` is the default. Is there a sanctioned list of these models?

   For the CPU targets I know that the architecture is passed to LLVM through the `-mcpu` attribute (i.e. `llvm -mcpu=cascadelake`) Should I do something similar for CUDA or is it better to relay on the above API call?.

Thanks!





---
[Visit Topic](https://discuss.tvm.apache.org/t/list-of-cuda-targets/8390/1) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/57c40c4a1cfea288e8b2e4ee0e85bd9a473abe30bf3b9f8979b3b635eb89fd7c).

[Apache TVM Discuss] [Questions] List of CUDA targets

Posted by Wheest via Apache TVM Discuss <no...@discuss.tvm.ai>.

I am also curious about this.  I have searched the code and the only place it mentions these targets is in the doc-string `tvm.target.cuda` itself. 

Is there any benefit to using the right GPU model?  Or is it something the CUDA compiler will figure out itself?  Could this create issues for remote devices?





---
[Visit Topic](https://discuss.tvm.apache.org/t/list-of-cuda-targets/8390/2) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/15b60ed89eff1253861be065c3be02bcf7bf090e22efa3182b696246f2ebfebc).

[Apache TVM Discuss] [Questions] List of CUDA targets

Posted by "Cody H. Yu via Apache TVM Discuss" <no...@discuss.tvm.ai>.

The model tag in CUDA target now is just a tag. You can basically put anything you like there. Even when performing the tuning, TVM extracts the required information directly from CUDA context, so it doesn’t rely on the tag either.





---
[Visit Topic](https://discuss.tvm.apache.org/t/list-of-cuda-targets/8390/3) to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/95f9cc23a691a3306a65511dbb692045fdd92a9cc408c405cdc4cc4b90b2db72).