diff --git a/amd/hipcc/docs/env.rst b/amd/hipcc/docs/env.rst index 6829f62ee18902..1a2940d82531b5 100644 --- a/amd/hipcc/docs/env.rst +++ b/amd/hipcc/docs/env.rst @@ -8,9 +8,11 @@ HIPCC environment variables ****************************************** -The environment variable ``HIP_PLATFORM`` can be used to specify ``amd`` or ``nvidia`` depending on the available backend tool flows: +The environment variable ``HIP_PLATFORM`` can be used to specify ``amd`` or ``nvidia`` depending on the available backend tool flows. For example: -* ``HIP_PLATFORM``='amd' or ``HIP_PLATFORM``='nvidia'. +.. code-block:: shell + + export HIP_PLATFORM=amd .. note:: If ``HIP_PLATFORM`` is not set, then ``hipcc`` will attempt to auto-detect based on if the ``nvcc`` tool is found.