Commit 33c8706a authored by Bartlomiej Wroblewski's avatar Bartlomiej Wroblewski Committed by Sam Wu
Browse files

Update the recommended version of ROCm in docs (#1110)

parent 60abeaba
...@@ -85,9 +85,11 @@ Where: ...@@ -85,9 +85,11 @@ Where:
To start a container from the image, use the ``docker start`` command:: To start a container from the image, use the ``docker start`` command::
docker start <container_name> Let's take a look at the image naming, for example ``ck_ub20.04_rocm6.0``. The image specs are:
Then use the docker exec command as shown above to start the bash shell. * ``ck`` - made for running Composable Kernel;
* ``ub20.04`` - based on Ubuntu 20.04;
* ``rocm6.0`` - ROCm platform version 6.0.
Use the ``docker stop`` command to stop the container and restore the image to its initial state:: Use the ``docker stop`` command to stop the container and restore the image to its initial state::
......
...@@ -58,9 +58,28 @@ This tutorial is based on the use of docker images as explained in :ref:`docker- ...@@ -58,9 +58,28 @@ This tutorial is based on the use of docker images as explained in :ref:`docker-
.. note:: .. note::
You can also `install ROCm <https://rocm.docs.amd.com/projects/install-on-linux/en/latest/>`_ on your system, clone the `Composable Kernel repository <https://github.com/ROCmSoftwarePlatform/composable_kernel.git>`_ on GitHub, and use that to build and run the examples using the commands described below. To make our lives easier we prepared
`docker images <https://hub.docker.com/r/rocm/composable_kernel>`_ with all the necessary
Both the docker container and GitHub repository include the Composable Kernel library. Navigate to the library:: dependencies. Pick the right image and create a container. In this tutorial we use
``rocm/composable_kernel:ck_ub20.04_rocm6.0`` image, it is based on Ubuntu 20.04 and
ROCm v6.0.
If your current folder is ``${HOME}``, start the docker container with::
docker run \
-it \
--privileged \
--group-add sudo \
-w /root/workspace \
-v ${HOME}:/root/workspace \
rocm/composable_kernel:ck_ub20.04_rocm6.0 \
/bin/bash
If your current folder is different from ``${HOME}``, adjust the line ``-v ${HOME}:/root/workspace``
to fit your folder structure.
Inside the docker container current folder is ``~/workspace``, library path is
``~/workspace/composable_kernel``, navigate to the library::
cd composable_kernel/ cd composable_kernel/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment