diff --git a/docs/how-to/hip_runtime_api/external_interop.rst b/docs/how-to/hip_runtime_api/external_interop.rst index ab044c4350..72233326dc 100644 --- a/docs/how-to/hip_runtime_api/external_interop.rst +++ b/docs/how-to/hip_runtime_api/external_interop.rst @@ -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 +