@@ -192,12 +192,11 @@ Compute Capabilities can be found in the official
192192AMD build
193193~~~~~~~~~
194194
195- ``dpctl `` can be built for AMD devices using the ``DPCTL_TARGET_HIP `` CMake option,
196- which requires specifying a compute architecture string:
195+ ``dpctl `` can be built for AMD devices using the ``--target-hip `` argument.
197196
198197.. code-block :: bash
199198
200- python scripts/build_locally.py --verbose --cmake-opts= " -DDPCTL_TARGET_HIP= <arch>"
199+ python scripts/build_locally.py --verbose --target-hip= < arch>
201200
202201 Note that the `oneAPI for AMD GPUs ` plugin requires the architecture be specified and only
203202one architecture can be specified at a time.
@@ -208,12 +207,12 @@ To determine the architecture code (``<arch>``) for your AMD GPU, run:
208207 rocminfo | grep ' Name: *gfx.*'
209208
210209 This will print names like ``gfx90a ``, ``gfx1030 ``, etc.
211- You can then use one of them as the argument to ``-DDPCTL_TARGET_HIP ``.
210+ You can then use one of them as the argument to ``--target-hip ``.
212211
213212For example:
214213
215214.. code-block :: bash
216- python scripts/build_locally.py --verbose --cmake-opts= " -DDPCTL_TARGET_HIP= gfx1030"
215+ python scripts/build_locally.py --verbose --target-hip= gfx1030
217216
218217 Multi-target build
219218~~~~~~~~~~~~~~~~~~
@@ -225,7 +224,7 @@ devices at the same time:
225224
226225.. code-block :: bash
227226
228- python scripts/build_locally.py --verbose --target-cuda --cmake-opts= " -DDPCTL_TARGET_HIP= gfx1030"
227+ python scripts/build_locally.py --verbose --target-cuda --target-hip= gfx1030
229228
230229 Running Examples and Tests
231230==========================
0 commit comments