Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jun 3, 2024
1 parent 1b08721 commit e0b592e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _sources/building_the_project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ With the AMD rocBLAS backend:
-DHIP_TARGETS=gfx90a \ # Specify the targetted device architectures
[-DREF_BLAS_ROOT=<reference_blas_install_prefix>] # required only for testing
cmake --build .
export SYCL_DEVICE_FILTER=HIP
export ONEAPI_DEVICE_SELECTOR="hip:gpu"
ctest
cmake --install . --prefix <path_to_install_dir> # required to have full package structure
Expand Down Expand Up @@ -429,7 +429,7 @@ The following table provides details of CMake options and their default values:

.. note::
When building with clang++ for AMD backends, you must additionally set
``SYCL_DEVICE_FILTER`` to ``HIP`` and provide ``-DHIP_TARGETS`` according to
``ONEAPI_DEVICE_SELECTOR`` to ``hip:gpu`` and provide ``-DHIP_TARGETS`` according to
the targeted hardware. This backend has only been tested for the ``gfx90a``
architecture (MI210) at the time of writing.

Expand Down
4 changes: 2 additions & 2 deletions building_the_project.html
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ <h4>Building for ROCm (with clang++)<a class="headerlink" href="#building-for-ro
<span class="w"> </span>-DHIP_TARGETS<span class="o">=</span>gfx90a<span class="w"> </span><span class="se">\ </span><span class="c1"># Specify the targetted device architectures</span>
<span class="w"> </span><span class="o">[</span>-DREF_BLAS_ROOT<span class="o">=</span>&lt;reference_blas_install_prefix&gt;<span class="o">]</span><span class="w"> </span><span class="c1"># required only for testing</span>
cmake<span class="w"> </span>--build<span class="w"> </span>.
<span class="nb">export</span><span class="w"> </span><span class="nv">SYCL_DEVICE_FILTER</span><span class="o">=</span>HIP
<span class="nb">export</span><span class="w"> </span><span class="nv">ONEAPI_DEVICE_SELECTOR</span><span class="o">=</span><span class="s2">&quot;hip:gpu&quot;</span>
ctest
cmake<span class="w"> </span>--install<span class="w"> </span>.<span class="w"> </span>--prefix<span class="w"> </span>&lt;path_to_install_dir&gt;<span class="w"> </span><span class="c1"># required to have full package structure</span>
</pre></div>
Expand Down Expand Up @@ -950,7 +950,7 @@ <h3>Build Options<a class="headerlink" href="#build-options" title="Link to this
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>When building with clang++ for AMD backends, you must additionally set
<code class="docutils literal notranslate"><span class="pre">SYCL_DEVICE_FILTER</span></code> to <code class="docutils literal notranslate"><span class="pre">HIP</span></code> and provide <code class="docutils literal notranslate"><span class="pre">-DHIP_TARGETS</span></code> according to
<code class="docutils literal notranslate"><span class="pre">ONEAPI_DEVICE_SELECTOR</span></code> to <code class="docutils literal notranslate"><span class="pre">hip:gpu</span></code> and provide <code class="docutils literal notranslate"><span class="pre">-DHIP_TARGETS</span></code> according to
the targeted hardware. This backend has only been tested for the <code class="docutils literal notranslate"><span class="pre">gfx90a</span></code>
architecture (MI210) at the time of writing.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit e0b592e

Please sign in to comment.