/h2><div class="CodeBlock"><div class="inlineWrapper"><div  class = 'S6'><span style="white-space: pre;"><span>d = gpuDevice;                          </span><span style="color: rgb(60, 118, 61);">% Selects the GPU device </span></span></div></div><div class="inlineWrapper"><div  class = 'S7'><span style="white-space: pre;"><span>sets.tbs      = d.MaxThreadsPerBlock;   </span><span style="color: rgb(60, 118, 61);">% Thread Block Size</span></span></div></div><div class="inlineWrapper"><div  class = 'S7'><sp