<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79304>79304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Offload] Develop a new API for the "plugins"
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
jdoerfert
</td>
</tr>
</table>
<pre>
The plugins roughly abstract over the vendor dependent libraries and provide a common interface. This is then used by OpenMP and other languages to provide language specific features.
The plugins are valuable as a generic runtime for offloading, but they are currently not exported and the API is ill-defined. We should rewrite the plugin interface and export it.
Example of a potential API is at https://gist.github.com/jhuber6/7873e2e74df91039ea549481b7c53cba.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckkFvrDgMxz9NuFhFEMhQDhxmtzvSHlbtodKeHWIgVUhQ4kw73_4Jpn2t3gkJ2X__8rMxJTt7okGov4R6KjDzEuLwZgLFiSIXOpjb8LoQbC7P1ieIIc-LuwHqxBFHhnClCLwQXMmbEMHQRt6QZ3BWR4yWEqA3sMVwtYYAYQzrGjxYzxQnHKmE18UmsGmP8ZATGdA3eN7I__dy9AZeKIJDP2ecKQGH33FfPyFtNNrJjjARco6USlGdRXX-CY-R4Iouo3YEmABhJk_RjhCzZ7sSTCFCmCYX0Fg_C_k36Mw71-1oHnOM5NndwAcG-thCZDIH467g_PLv_gzr3IOhyXoyJfxPkJaQnYFI79EyHZV3om8HR8Q9DyyXcGf_5wPXzRGECRC2wOTZovsagwwL85ZEcxbyIuRltonL2fKSdTmGVcjL25I1xZOQl-6xa0hS15qpr6umJ1Rt3z7WuhtVM2osCzM0pm96LGiou-pUV32jVLEMba1OE-kJ28Z0nWn76rGrlGqNxFaqsSnsICvZVrVsa1UrpcqTbHQ1dao_Gdk1dBJtRStaVzp3XcsQ58KmlGno-qZqC4eaXPq6wDjsRQ86z0m0lbOJ03cbW3bHrT7fVyTUEzzRlVzYAMHT-6Fm3-HuWEj5uXghZZGjG_7U9cPUPuPz87DF8EYjC3k5ONOub0f9FQAA___YMhIP">