<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font face="Hack Nerd Font Mono">As part of a patch to remove
dead arguments [0] a discussion started which asked for an RFC
[1].</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">--</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">I want to clarify that there is
no guarantee the *device runtime* (aka.
libomptarget-nvptx-sm_XX.bc) has a stable API.</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">Quick summary of the discussion:</font></p>
<p><font face="Hack Nerd Font Mono">- The library in question is
*not* part of libomp (which has a stable API) or even
libomptarget.<br>
</font></p>
<p><font face="Hack Nerd Font Mono">- We are not aware of any
non-clang user of this library.<br>
</font></p>
<p><font face="Hack Nerd Font Mono">- The only usage model we
(properly) support is static linking of the runtime as LLVM-IR.
This inherently ties the runtime to the compiler (version):<br>
</font></p>
<p><font face="Hack Nerd Font Mono"> - Combining a new compiler
with an old (LLVM-IR) runtime cannot be expected to work as we
might have new entry points.<font face="Hack Nerd Font Mono"><br>
</font></font></p>
<p><font face="Hack Nerd Font Mono"><font face="Hack Nerd Font Mono">
- Combining an old compiler with a new (LLVM-IR) runtime
cannot be expected to work as we cannot guarantee the old
toolchain can handle the new IR .<br>
</font>
</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">Please provide feedback asap,
this is a requirement for the GPU state machine patch [2] which
fixes an important register usage bug [3].<br>
</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">Thanks,</font></p>
<p><font face="Hack Nerd Font Mono"> Johannes<br>
</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono"><br>
</font></p>
<p><font face="Hack Nerd Font Mono">[0]
<a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D83268">https://reviews.llvm.org/D83268</a><br>
</font></p>
<p><font face="Hack Nerd Font Mono">[1]
<a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D83268#2136060">https://reviews.llvm.org/D83268#2136060</a></font></p>
<p>[2] <a class="moz-txt-link-freetext" href="https://reviews.llvm.org/D83271">https://reviews.llvm.org/D83271</a><br>
</p>
<p>[3] <a class="moz-txt-link-freetext" href="http://llvm.org/PR46450">http://llvm.org/PR46450</a><br>
</p>
</body>
</html>