Skip to content

Commit a77ecd0

Browse files
authored
Merge pull request #609 from lukaszstolarczuk/fix-docs-examples-links
[docs] Update links to examples
2 parents f302054 + ed8c916 commit a77ecd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/docs_config/examples.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ Freeing memory is as easy as can be::
111111
GPU shared memory
112112
==============================================================================
113113

114-
You can find the full example code in the `examples/basic/gpu_shared_memory.c`_ file
114+
You can find the full example code in the `examples/gpu_shared_memory/gpu_shared_memory.c`_ file
115115
in the UMF repository.
116116

117117
TODO
118118

119119
IPC example with Level Zero Memory Provider
120120
==============================================================================
121-
The full code of the example is in the `examples/basic/ipc_level_zero.c`_ file in the UMF repository.
121+
The full code of the example is in the `examples/ipc_level_zero/ipc_level_zero.c`_ file in the UMF repository.
122122
The example demonstrates how to use UMF :ref:`IPC API <ipc-api>`. For demonstration purpose the example uses
123123
Level Zero memory provider to instantiate a pool. But the same flow will work with any memory provider that
124124
supports IPC capabilities.
@@ -193,8 +193,8 @@ function is called on the consumer side. The memory mappings on the consumer sid
193193
the :any:`umfCloseIPCHandle` function is called.
194194

195195
.. _examples/basic/basic.c: https://github.com/oneapi-src/unified-memory-framework/blob/main/examples/basic/basic.c
196-
.. _examples/basic/gpu_shared_memory.c: https://github.com/oneapi-src/unified-memory-framework/blob/main/examples/basic/gpu_shared_memory.c
197-
.. _examples/basic/ipc_level_zero.c: https://github.com/oneapi-src/unified-memory-framework/blob/main/examples/basic/ipc_level_zero.c
196+
.. _examples/gpu_shared_memory/gpu_shared_memory.c: https://github.com/oneapi-src/unified-memory-framework/blob/main/examples/gpu_shared_memory/gpu_shared_memory.c
197+
.. _examples/ipc_level_zero/ipc_level_zero.c: https://github.com/oneapi-src/unified-memory-framework/blob/main/examples/ipc_level_zero/ipc_level_zero.c
198198
.. _README: https://github.com/oneapi-src/unified-memory-framework/blob/main/README.md#memory-pool-managers
199199
.. _umf/ipc.h: https://github.com/oneapi-src/unified-memory-framework/blob/main/include/umf/ipc.h
200200
.. _provider_os_memory.h: https://github.com/oneapi-src/unified-memory-framework/blob/main/include/umf/providers/provider_os_memory.h

0 commit comments

Comments
 (0)