[PATCH] D43045: Add NVPTX Support to ValidCPUList (enabling march notes)

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 8 11:45:52 PST 2018


Fair. Did you want to handle this a different way? I thought the list at
least seemed reasonable for spelling.

On Thu, Feb 8, 2018, 11:44 AM Artem Belevich via Phabricator <
reviews at reviews.llvm.org> wrote:

> tra added inline comments.
>
>
> ================
> Comment at: test/Misc/target-invalid-cpu-note.c:38
> +// NVPTX: note: valid target CPU values are: sm_20, sm_21, sm_30, sm_32,
> sm_35,
> +// NVPTX-SAME: sm_37, sm_50, sm_52, sm_53, sm_60, sm_61, sm_62, sm_70,
> sm_72
> ----------------
> Nit: Generally speaking this note is false. For any given version of CUDA,
> some of the listed GPU variants will not be accepted. E.g. CUDA versions
> before 9.1 do not know anything about sm_72, but CUDA-9.1  does not
> supports sm_20.
>
>
> https://reviews.llvm.org/D43045
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180208/3be84252/attachment-0001.html>


More information about the cfe-commits mailing list