 data-uid="">
<h1 id="other-ways-to-execute">Other Ways to Execute</h1>

<p>In the &quot;Run your first GPU Program&quot; guide, you have used the executer instance to run the compiler in a simple fashion. Here are more ways to execute and you can choose the way you like</p>
<h2 id="using-array-for-loop">Using Array For Loop</h2>
<p>Let's try to implement some simple neural network activation kernel as below</p>
<pre><code class="lang-csharp">class ForLoopKernels : OpenCLFunctions
{
    [OpenCLKernel]
    v