You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h2>Installation via Intel(R) Distribution for Python<aclass="headerlink" href="#installation-via-intel-r-distribution-for-python" title="Permalink to this heading">¶</a></h2>
869
869
<p><aclass="reference external" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html">Intel(R) Distribution for Python*</a> is distributed as a conda-based installer
870
-
and includes <aclass="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpctl</span></code></a> along with its dependencies and sister projects <aclass="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.19.0dev0+18.gcedd0d171f9)"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpnp</span></code></a>
870
+
and includes <aclass="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpctl</span></code></a> along with its dependencies and sister projects <aclass="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.19.0dev0+19.g278cf429f61)"><codeclass="xref py py-mod docutils literal notranslate"><spanclass="pre">dpnp</span></code></a>
<p>Once the installed environment is activated, <codeclass="docutils literal notranslate"><spanclass="pre">dpctl</span></code> should be ready to use.</p>
873
873
</section>
@@ -959,11 +959,15 @@ <h4>CUDA build<a class="headerlink" href="#cuda-build" title="Permalink to this
959
959
<h4>AMD build<aclass="headerlink" href="#amd-build" title="Permalink to this heading">¶</a></h4>
960
960
<p><codeclass="docutils literal notranslate"><spanclass="pre">dpctl</span></code> can be built for AMD devices using the <codeclass="docutils literal notranslate"><spanclass="pre">DPCTL_TARGET_HIP</span></code> CMake option,
961
961
which requires specifying a compute architecture string:</p>
<p>Note that the <cite>oneAPI for AMD GPUs</cite> plugin requires the architecture be specified and only
965
+
<p>Note that the <cite>oneAPI for AMD GPUs</cite> plugin requires the architecture be specified and only
966
966
one architecture can be specified at a time.</p>
967
+
<p>To determine the architecture code (<codeclass="docutils literal notranslate"><spanclass="pre"><arch></span></code>) for your AMD GPU, run:</p>
968
+
<p>This will print names like <codeclass="docutils literal notranslate"><spanclass="pre">gfx90a</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">gfx1030</span></code>, etc.
969
+
You can then use one of them as the argument to <codeclass="docutils literal notranslate"><spanclass="pre">-DDPCTL_TARGET_HIP</span></code>.</p>
970
+
<p>For example:</p>
967
971
</section>
968
972
<sectionid="multi-target-build">
969
973
<h4>Multi-target build<aclass="headerlink" href="#multi-target-build" title="Permalink to this heading">¶</a></h4>
0 commit comments