use, for example, <code>ld</code> or <code>g++</code>.</p><pre class="m-code"><span class="c1"># replace /usr/local/cuda/lib64 with your own CUDA library installation path</span>
~$<span class="w"> </span>g++<span class="w"> </span>-pthread<span class="w"> </span>-L<span class="w"> </span>/usr/local/cuda/lib64/<span class="w"> </span>-lcudart<span class="w"> </span><span class="se">\</span>
<span class="w">   </span>gpuCode.o<span class="w"> </span>main.o<span class="w"> </span>cudaflow.o<span class="w"> </