ociative and may produce slightly different results than a serial algorithm.</p>
<p>For example, to calculate the sum of the values for each key:</p>
<pre class="programlisting"></pre>
<p> Space complexity on GPUs: \Omega(2n)<br>
 Space complexity on CPUs: \Omega(1)</p>
<p><span class="bold"><strong>See Also:</strong></span></p>
<p>reduce() </p>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0" class="variablelist compact">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>