Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
neon60 authored Nov 12, 2024
1 parent 43a781b commit 1b35c2b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions docs/how-to/hip_runtime_api/external_interop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,19 @@ The Vulkan external descriptor is defined in the following way:
.. literalinclude:: ../../tools/example_codes/external_interop.hip
:start-after: // [Sphinx external descriptor start]
:end-before: // [Sphinx external descriptor end]

:language: cpp

The Vulkan semaphore is converted to HIP semaphore shown in the following example:

.. literalinclude:: ../../tools/example_codes/external_interop.hip
:start-after: // [Sphinx semaphore use in kernel start]
:end-before: // [Sphinx semaphore use in kernel end]

:language: cpp

The external memory is used in the following example:

.. literalinclude:: ../../tools/example_codes/external_interop.hip
:start-after: // [Sphinx external memory use in kernel start]
:end-before: // [Sphinx external memory use in kernel end]

:language: cpp

0 comments on commit 1b35c2b

Please sign in to comment.