<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="Hack Nerd Font Mono">Function names only, yes.</font></p>
    <p><font face="Hack Nerd Font Mono">Basically, if "$" as part of a
        function name is OK in the Intel pipeline.</font></p>
    <p><font face="Hack Nerd Font Mono">We will use that to mangle
        declare variant functions because the "." we used so far upsets
        nvcc...<br>
      </font></p>
    <p><font face="Hack Nerd Font Mono"></font><br>
    </p>
    <div class="moz-cite-prefix">On 5/20/20 8:52 PM, Narayanaswamy, Ravi
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:SN6PR11MB353400F761F933DD943F20B597B70@SN6PR11MB3534.namprd11.prod.outlook.com">
      <pre class="moz-quote-pre" wrap="">I was not following this thread.
Is this for function names only?
I believe if it is function names only should be ok.
Thanks
Ravi

From: Jon Chesterfield <a class="moz-txt-link-rfc2396E" href="mailto:jonathanchesterfield@gmail.com"><jonathanchesterfield@gmail.com></a>
Sent: Wednesday, May 20, 2020 4:10 PM
To: Johannes Doerfert <a class="moz-txt-link-rfc2396E" href="mailto:johannesdoerfert@gmail.com"><johannesdoerfert@gmail.com></a>
Cc: Lukas Sommer <a class="moz-txt-link-rfc2396E" href="mailto:sommer@esa.tu-darmstadt.de"><sommer@esa.tu-darmstadt.de></a>; Jonas Hahnfeld <a class="moz-txt-link-rfc2396E" href="mailto:hahnjo@hahnjo.de"><hahnjo@hahnjo.de></a>; <a class="moz-txt-link-abbreviated" href="mailto:openmp-dev@lists.llvm.org">openmp-dev@lists.llvm.org</a>; Narayanaswamy, Ravi <a class="moz-txt-link-rfc2396E" href="mailto:ravi.narayanaswamy@intel.com"><ravi.narayanaswamy@intel.com></a>
Subject: Re: [Openmp-dev] Declare variant + Nvidia Device Offload

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">_$_ seems like a reasonable solution, as ISO C/C++ forbids dollar-sign
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">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
</pre>
    </blockquote>
  </body>
</html>