a18835ec84cbb6250143327e93697c7e9">k</a>() + 1) {</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;        <span class="comment">// The final threadblock resets the semaphore for subsequent grids.</span></div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        lock = 0;</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;      