Skip to content

Commit b53c62a

Browse files
authoredMay 8, 2024··
Fix a typo in barrier docs and update the godbolt link (#1718)
1 parent a8c267f commit b53c62a

File tree

1 file changed

+2
-2
lines changed
  • libcudacxx/docs/extended_api/synchronization_primitives/barrier

1 file changed

+2
-2
lines changed
 

‎libcudacxx/docs/extended_api/synchronization_primitives/barrier/init.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ It can be silenced using `#pragma nv_diag_suppress static_var_with_dynamic_init`
4343
```cuda
4444
#include <cuda/barrier>
4545
46-
// Disables `pipeline_shared_state` initialization warning.
46+
// Disables `cuda::barrier` initialization warning.
4747
#pragma nv_diag_suppress static_var_with_dynamic_init
4848
4949
__global__ void example_kernel() {
@@ -52,7 +52,7 @@ __global__ void example_kernel() {
5252
}
5353
```
5454

55-
[See it on Godbolt](https://godbolt.org/z/jG8se6Kd8){: .btn }
55+
[See it on Godbolt](https://godbolt.org/z/nK5q3xh34){: .btn }
5656

5757

5858
[`cuda::thread_scope`]: ./memory_model.md

0 commit comments

Comments
 (0)
Please sign in to comment.