<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/102876>102876</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Offload] Workaround code causes race condition
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
doru1004
</td>
</tr>
</table>
<pre>
Previous attempts to fix racy code:
https://github.com/llvm/llvm-project/commit/0012b956f9d59eba4f8df32716d8be13f12cdce2
In the current implementation of offload, the use of nested parallelism leads to intermittent failures. There have been several past attempts to fix the problem that have not helped:
https://github.com/llvm/llvm-project/commit/0012b956f9d59eba4f8df32716d8be13f12cdce2
The comments mention a workaround for a different problem which should be resolved and the workaround code removed.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEk8-O1DAMxp-mvViMUredaQ89AKuROMFhJc5J7EwDaVLlzyz79ihlV6zgxImLW7mN7e-XzzIle_PMSzN-aMaHVpa8hrhQiKUTYmhVoOflS-S7DSWBzJm3PSfIAYz9AVHqZ9CBuOnfN-KhES9xzXlPNYfXBq83m9eiTjpsDV6du78-3u0xfGOdG7zqsG22vgjRoZrHs5lpnFnJwUxkerx0Z5oUd73pUJNmfNvtk4e8MugSI_sMdtsdb-yzzDZ4CAaCMS5IavDj8WNJXLOeU2aCXUbpHDubNnAs6RBnfea42ZxrQSOtK5HTCR5XjgyrvDMoZg-J7xylg12m_Bec2mqPQTneIK8y_zrnQ4aV3c70X5k9VmBhq5gS1FhRSXgK8buMoXgCEyJIIGsMH1hfpTytVq-Q1lAcgWKInIK7M4H0dGh-U6NaAyJv4c50gpaWnuZ-li0v3QX7YZzGS9euC84Ge0HqPLHoUKtBSE1Ec29Y0YjU2gUFDmLqsBM4991pGLBHc5m7QRBNk24GwZu07lQZnUK8tTalwksncLqcWycVu3R4HNHzExxfG8Rq-bgcYFW5pWYQzqacfpfJNrtjOT6_eGh8gK9_CNSyJE51GSpTT7bCbEt0yz_f6TFXavD6Mvh9wZ8BAAD__0NRMy4">