b.com/hornet-gt/hornet</div><div class="line">cd hornet/build</div><div class="line">cmake ..</div><div class="line">make -j</div></div><!-- fragment --><p>By default the cuda compiler <code>nvcc</code> uses <code>gcc/g++</code> found in the current execution search path (<code>cc --version</code> to get the default compiler). To force a different host compiler to compile plain C++ files (<code>*.cpp</code>) set the following environment variables: </p><div class="fragment"><div class="line">CC=&lt;path_to_