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>
870
870
<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
871
-
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>
871
+
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+25.g78597f92423)"><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>
874
874
</section>
@@ -960,11 +960,15 @@ <h4>CUDA build<a class="headerlink" href="#cuda-build" title="Permalink to this
960
960
<h4>AMD build<aclass="headerlink" href="#amd-build" title="Permalink to this heading">¶</a></h4>
961
961
<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,
962
962
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
966
+
<p>Note that the <cite>oneAPI for AMD GPUs</cite> plugin requires the architecture be specified and only
967
967
one architecture can be specified at a time.</p>
968
+
<p>To determine the architecture code (<codeclass="docutils literal notranslate"><spanclass="pre"><arch></span></code>) for your AMD GPU, run:</p>
969
+
<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.
970
+
You can then use one of them as the argument to <codeclass="docutils literal notranslate"><spanclass="pre">-DDPCTL_TARGET_HIP</span></code>.</p>
971
+
<p>For example:</p>
968
972
</section>
969
973
<sectionid="multi-target-build">
970
974
<h4>Multi-target build<aclass="headerlink" href="#multi-target-build" title="Permalink to this heading">¶</a></h4>
0 commit comments