RE: Proposal to remove '--with-cuda-driver'

2022-04-29 Thread Thomas Schwinge
Hi Roger! On 2022-04-05T19:46:08+0100, "Roger Sayle" wrote: > I apologise that it might complicate things No worries; that's why I asked. :-) > one potential benefit of --with-cuda-driver > (i.e. linking the compiler against proprietary libraries) is that it would > allow support for > -march

Re: Proposal to remove '--with-cuda-driver'

2022-04-29 Thread Thomas Schwinge
Hi Tom! On 2022-04-06T11:57:57+0200, Tom de Vries wrote: > On 4/5/22 17:14, Thomas Schwinge wrote: >> Regarding the following: >> >> On 2022-03-30T14:27:41+0200, Tom de Vries wrote: >>> The -mptx flag has been added to specify the PTX ISA >>> version >>> for the generated code; perm

Re: Proposal to remove '--with-cuda-driver' (was: [wwwdocs][patch] gcc-12: Nvptx updates)

2022-04-06 Thread Tom de Vries via Gcc-patches
On 4/5/22 17:14, Thomas Schwinge wrote: Hi! Still catching up with GCC/nvptx back end changes... %-) In the following I'm not discussing the patch to document "gcc-12: Nvptx updates", but rather one aspect of the "gcc-12: Nvptx updates" themselves. ;-) On 2022-03-30T14:27:41+0200, Tom de Vr

RE: Proposal to remove '--with-cuda-driver' (was: [wwwdocs][patch] gcc-12: Nvptx updates)

2022-04-05 Thread Roger Sayle
Hi Thomas, I apologise that it might complicate things, but one potential benefit of --with-cuda-driver (i.e. linking the compiler against proprietary libraries) is that it would allow support for -march=native on nvptx (i.e. the gcc driver can figure out what sm_xx is available on the GPU(s)