[Openmp-dev] Declare variant + Nvidia Device Offload

Jon Chesterfield via Openmp-dev openmp-dev at lists.llvm.org
Wed May 20 16:10:05 PDT 2020


>
> > _$_ seems like a reasonable solution, as ISO C/C++ forbids dollar-sign
> I CC'ed Ravi and Jon to confirm that Intel and AMD toolchains will be
> be fine with "$" in the symbol name. We already know it should work for
> NVIDIA and NEC. I guess that would be all.
>

'$' works fine on amdgcn. We're using llvm-mc for the assembler and
(nearly?) standard elf for the binary formats so it should work really.
Hello world style test passes too.

Embedded \0 in the middle of the symbol name was rejected in IR but
anything else seems to work.

Thanks!

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20200521/c596a214/attachment.html>


More information about the Openmp-dev mailing list