Skip to content

Commit

Permalink
Revert "PTX: Add cuda::ptx::elect_sync (#1537)" (#1638)
Browse files Browse the repository at this point in the history
* Revert "PTX: Add `cuda::ptx::elect_sync` (#1537)"

This reverts commit 3d629a9.

The exposed API is not good enough.

* Update libcudacxx/include/cuda/std/detail/libcxx/include/__cuda/ptx.h

---------

Co-authored-by: Michael Schellenberger Costa <[email protected]>
  • Loading branch information
ahendriksen and miscco authored Apr 17, 2024
1 parent b68256e commit 9a9bffd
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 140 deletions.
4 changes: 2 additions & 2 deletions libcudacxx/docs/ptx.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ notes](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#release
| [`activemask`] | No |
| [`redux.sync`] | No |
| [`griddepcontrol`] | No |
| [`elect.sync`] | CTK-FUTURE, CCCL v2.5.0 |
| [`elect.sync`] | No |

[`bar, barrier`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-bar-barrier
[`bar.warp.sync`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-bar-warp-sync
Expand All @@ -416,7 +416,7 @@ notes](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#release
[`activemask`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-activemask
[`redux.sync`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-redux-sync
[`griddepcontrol`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-griddepcontrol
[`elect.sync`]: ptx/instructions/elect.sync.md
[`elect.sync`]: https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-elect-sync

### [Parallel Synchronization and Communication Instructions: mbarrier](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-mbarrier)

Expand Down
24 changes: 0 additions & 24 deletions libcudacxx/docs/ptx/instructions/elect.sync.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/cp_async_bulk_wait_group.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/cp_reduce_async_bulk.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/cp_reduce_async_bulk_tensor.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/elect_sync.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/fence.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/get_sreg.h>
#include <cuda/std/detail/libcxx/include/__cuda/ptx/instructions/getctarank.h>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 9a9bffd

Please sign in to comment.