pan class="n">name</span><span class="p">(</span><span class="s">&quot;gpu task&quot;</span><span class="p">);</span>
<span class="p">}</span></pre><p>Compile each source to an object (<code>g++</code> as an example):</p><pre class="m-code">~$<span class="w"> </span>g++<span class="w"> </span>-std<span class="o">=</span>c++17<span class="w"> </span>-I<span class="w"> </span>path/to/taskflow<span class="w"> </span>-c<span class="w"> </span>main.cpp<span class="w"> </span>-o<span class="w"> </span>main.o
~$<s