[cfe-dev] [CUDA] Why "Disallow 'extern __shared__' variables"?

Justin Lebar via cfe-dev cfe-dev at lists.llvm.org
Fri Oct 28 11:57:38 PDT 2016


> Can you verify if the bug in ptxas for which this patch (https://reviews.llvm.org/D22428) was submitted still exists with CUDA 8.0?

Even if it's fixed in CUDA 8, clang still supports old CUDA versions,
so I'm not sure there's much we could do, unless you want LLVM to
detect the CUDA version.

But I am 95% sure that Art tested on CUDA 8 and the bug still exists there.

On Fri, Oct 28, 2016 at 11:55 AM, Arpith C Jacob <acjacob at us.ibm.com> wrote:
> Thanks. I'll take a look.
>
>> There's a TODO in NVPTXAsmPrinter, but that's an ABI compatibility
>> issue, which isn't a problem if you're compiling everything with
>> clang.
>
> Can you verify if the bug in ptxas for which this patch
> (https://reviews.llvm.org/D22428) was submitted still exists with CUDA 8.0?
> If you have the buggy CUDA program I can check.
>
> Thanks,
> Arpith



More information about the cfe-dev mailing list