 class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;      <span class="comment">// if grid_size or block_size are zero, query occupancy using the CUDA Occupancy API</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;      cudaError_t result = cudaOccupancyMaxPotentialBlockSize(</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        &amp;grid_size,</div><div class="line"><a name="l00049"></a><span class="lineno">