Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 22, 2024
1 parent ffedff0 commit 59ddd0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _modules/transformato/state.html
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,12 @@ <h1>Source code for transformato.state</h1><div class="highlight"><pre>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">line</span><span class="p">)</span>
<span class="k">elif</span> <span class="n">i</span> <span class="o">==</span> <span class="mi">1</span><span class="p">:</span>
<span class="n">i</span> <span class="o">+=</span> <span class="mi">1</span>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s2">&quot;platform = Platform.getPlatformByName(&#39;OpenCLeeeee&#39;)</span><span class="se">\n</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span>
<span class="s2">&quot;platform = Platform.getPlatformByName(&#39;OpenCL&#39;)</span><span class="se">\n</span><span class="s2">&quot;</span>
<span class="p">)</span>
<span class="k">elif</span> <span class="n">i</span> <span class="o">==</span> <span class="mi">2</span><span class="p">:</span>
<span class="n">i</span> <span class="o">+=</span> <span class="mi">2</span>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s2">&quot;prop = dict(UseCpuPme=&#39;trueeeeeeeee&#39;)</span><span class="se">\n</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="s2">&quot;prop = dict(UseCpuPme=&#39;true&#39;)</span><span class="se">\n</span><span class="s2">&quot;</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="n">g</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">line</span><span class="p">)</span>
<span class="k">elif</span> <span class="bp">self</span><span class="o">.</span><span class="n">configuration</span><span class="p">[</span><span class="s2">&quot;simulation&quot;</span><span class="p">][</span><span class="s2">&quot;GPU&quot;</span><span class="p">]</span><span class="o">.</span><span class="n">upper</span><span class="p">()</span> <span class="o">==</span> <span class="s2">&quot;CUDA&quot;</span><span class="p">:</span>
Expand Down

0 comments on commit 59ddd0e

Please sign in to comment.