Skip to content

Commit e7049c6

Browse files
randyh62neon60
authored andcommitted
Update hip_porting_guide.rst
Added Istvan and Evgeniy comments
1 parent f4b477f commit e7049c6

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/how-to/hip_porting_guide.rst

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,9 @@ runtime and driver APIs.
122122
Scanning CUDA source to scope the translation
123123
---------------------------------------------
124124

125-
The ``--examine`` option, supported by the clang and perl versions, tells hipify
126-
to do a test-run, without changing the files, but instead scan CUDA code to
127-
determine which files contain CUDA code and how much of that code can
128-
automatically be hipified.
125+
The ``--examine`` option, tells the hipify tools to do a test-run without changing
126+
the source files, but instead scanning the files to determine which files contain CUDA code and
127+
how much of that code can automatically be hipified.
129128

130129
There also are ``hipexamine-perl.sh`` or ``hipexamine.sh`` (for
131130
``hipify-clang``) scripts to automatically scan directories.
@@ -191,10 +190,10 @@ hipified code to ``stdout``.
191190
``hipconvertinplace.sh`` or ``hipconvertinplace-perl.sh`` operate on whole
192191
directories.
193192

194-
Library equivalents
195-
===================
193+
Library and driver equivalents
194+
==============================
196195

197-
ROCm provides libraries to ease porting of code relying on CUDA libraries.
196+
ROCm provides libraries to ease porting of code relying on CUDA libraries or the CUDA driver API.
198197
Most CUDA libraries have a corresponding HIP library. For more information,
199198
see either :doc:`ROCm libraries <rocm:reference/api-libraries>` or :doc:`HIPIFY CUDA compatible libraries <hipify:reference/supported_apis>`.
200199

@@ -213,7 +212,7 @@ which is just a thin layer that redirects function calls to either the
213212
.. note::
214213

215214
If the application is only required to run on AMD GPUs, it is recommended to use
216-
the ``roc``-libraries. In hipify, this can be accomplished using the ``--roc`` option.
215+
the ``roc``-libraries. In hipify tools, this can be accomplished using the ``--roc`` option.
217216

218217
cuModule and hipModule
219218
----------------------

0 commit comments

Comments
 (0)