Skip to content

Commit

Permalink
Fix documentation links (#1311)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahendriksen authored Jan 25, 2024
1 parent 03a9113 commit b452931
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion libcudacxx/docs/extended_api/asynchronous_operations.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
## Asynchronous Operations

| [`cuda::memcpy_async`] | Asynchronously copies one range to another. `(function template)` <br/><br/> 1.1.0 / CUDA 11.0 <br/> 1.2.0 / CUDA 11.1 (group & aligned overloads) |
| [`cuda::device_memcpy_async_tx`] | Asynchronously copies one range to another with manual transaction accounting. `(function)` |
| [`cuda::device::memcpy_async_tx`] | Asynchronously copies one range to another with manual transaction accounting. `(function)` |


[`cuda::memcpy_async`]: {{ "extended_api/asynchronous_operations/memcpy_async.html" | relative_url }}
[`cuda::device::memcpy_async_tx`]: {{ "extended_api/asynchronous_operations/memcpy_async_tx.html" | relative_url }}

Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ __global__ void example_kernel() {
[`cuda::barrier::init`]: ./barrier/init.md
[`cuda::device::barrier_native_handle`]: ./barrier/barrier_native_handle.md
[`cuda::device::barrier_arrive_tx`]: ./barrier/barrier_arrive_tx.md
[`cuda::device::barrier_expect_tx`]: ./barrier/barrier_expect_tx.md

[`cuda::std::barrier`]: https://en.cppreference.com/w/cpp/thread/barrier

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ below.
## Example

Below example shows only `cuda::device::barrier_arrive_tx`. A more extensive
example can be found in the
[`cuda::device::memcpy_async_tx`](../../../asynchronous_operations/memcpy_async_tx.md)
documentation.
example can be found in the [`cuda::device::memcpy_async_tx`] documentation.

```cuda
#include <cuda/barrier>
Expand Down Expand Up @@ -83,3 +81,4 @@ __global__ void example_kernel() {
[Tracking asynchronous operations by the mbarrier object]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#tracking-asynchronous-operations-by-the-mbarrier-object
[thread.barrier.class paragraph 12]: https://eel.is/c++draft/thread.barrier.class#12

[`cuda::device::memcpy_async_tx`]: ../../asynchronous_operations/memcpy_async_tx.md

0 comments on commit b452931

Please sign in to comment.