-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PTX: Update generated files with Blackwell instructions (#3568)
* ptx: Update existing instructions * ptx: Add new instructions * Fix returning error out values See: - https://gitlab-master.nvidia.com/CCCL/libcuda-ptx/-/merge_requests/74 - https://gitlab-master.nvidia.com/CCCL/libcuda-ptx/-/merge_requests/73 * ptx: Fix out var declaration See https://gitlab-master.nvidia.com/CCCL/libcuda-ptx/-/merge_requests/75 * mbarrier.{test,try}_wait: Fix test. Wrong files were included. * docs: Fix special registers include * Allow non-included documentation pages * Workaround NVRTC Co-authored-by: Allard Hendriksen <[email protected]>
- Loading branch information
1 parent
26670e1
commit e5f08ba
Showing
155 changed files
with
58,115 additions
and
2,973 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
docs/libcudacxx/ptx/instructions/generated/barrier_cluster_aligned.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
.. | ||
This file was automatically generated. Do not edit. | ||
barrier.cluster.arrive.aligned | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// barrier.cluster.arrive.aligned; // PTX ISA 78, SM_90 | ||
// .aligned = { .aligned } | ||
// Marked volatile and as clobbering memory | ||
template <typename = void> | ||
__device__ static inline void barrier_cluster_arrive( | ||
cuda::ptx::dot_aligned_t); | ||
barrier.cluster.wait.aligned | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// barrier.cluster.wait.aligned; // PTX ISA 78, SM_90 | ||
// .aligned = { .aligned } | ||
// Marked volatile and as clobbering memory | ||
template <typename = void> | ||
__device__ static inline void barrier_cluster_wait( | ||
cuda::ptx::dot_aligned_t); | ||
barrier.cluster.arrive.release.aligned | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// barrier.cluster.arrive.sem.aligned; // PTX ISA 80, SM_90 | ||
// .sem = { .release } | ||
// .aligned = { .aligned } | ||
// Marked volatile and as clobbering memory | ||
template <typename = void> | ||
__device__ static inline void barrier_cluster_arrive( | ||
cuda::ptx::sem_release_t, | ||
cuda::ptx::dot_aligned_t); | ||
barrier.cluster.arrive.relaxed.aligned | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// barrier.cluster.arrive.sem.aligned; // PTX ISA 80, SM_90 | ||
// .sem = { .relaxed } | ||
// .aligned = { .aligned } | ||
// Marked volatile | ||
template <typename = void> | ||
__device__ static inline void barrier_cluster_arrive( | ||
cuda::ptx::sem_relaxed_t, | ||
cuda::ptx::dot_aligned_t); | ||
barrier.cluster.wait.acquire.aligned | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// barrier.cluster.wait.sem.aligned; // PTX ISA 80, SM_90 | ||
// .sem = { .acquire } | ||
// .aligned = { .aligned } | ||
// Marked volatile and as clobbering memory | ||
template <typename = void> | ||
__device__ static inline void barrier_cluster_wait( | ||
cuda::ptx::sem_acquire_t, | ||
cuda::ptx::dot_aligned_t); |
68 changes: 68 additions & 0 deletions
68
docs/libcudacxx/ptx/instructions/generated/clusterlaunchcontrol.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
.. | ||
This file was automatically generated. Do not edit. | ||
clusterlaunchcontrol.try_cancel.async.shared::cta.mbarrier::complete_tx::bytes.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.try_cancel.async.shared::cta.mbarrier::complete_tx::bytes.b128 [addr], [smem_bar]; // PTX ISA 86, SM_100 | ||
template <typename = void> | ||
__device__ static inline void clusterlaunchcontrol_try_cancel( | ||
void* addr, | ||
uint64_t* smem_bar); | ||
clusterlaunchcontrol.try_cancel.async.shared::cta.mbarrier::complete_tx::bytes.multicast::cluster::all.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.try_cancel.async.shared::cta.mbarrier::complete_tx::bytes.multicast::cluster::all.b128 [addr], [smem_bar]; // PTX ISA 86, SM_100a, SM_101a | ||
template <typename = void> | ||
__device__ static inline void clusterlaunchcontrol_try_cancel_multicast( | ||
void* addr, | ||
uint64_t* smem_bar); | ||
clusterlaunchcontrol.query_cancel.is_canceled.pred.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.query_cancel.is_canceled.pred.b128 pred_is_canceled, try_cancel_response; // PTX ISA 86, SM_100 | ||
template <typename B128, enable_if_t<sizeof(B128) == 16, bool> = true> | ||
__device__ static inline bool clusterlaunchcontrol_query_cancel_is_canceled( | ||
B128 try_cancel_response); | ||
clusterlaunchcontrol.query_cancel.get_first_ctaid::x.b32.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.query_cancel.get_first_ctaid::x.b32.b128 ret_dim, try_cancel_response; // PTX ISA 86, SM_100 | ||
template <typename B32, enable_if_t<sizeof(B32) == 4, bool> = true, typename B128, enable_if_t<sizeof(B128) == 16, bool> = true> | ||
__device__ static inline B32 clusterlaunchcontrol_query_cancel_get_first_ctaid_x( | ||
B128 try_cancel_response); | ||
clusterlaunchcontrol.query_cancel.get_first_ctaid::y.b32.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.query_cancel.get_first_ctaid::y.b32.b128 ret_dim, try_cancel_response; // PTX ISA 86, SM_100 | ||
template <typename B32, enable_if_t<sizeof(B32) == 4, bool> = true, typename B128, enable_if_t<sizeof(B128) == 16, bool> = true> | ||
__device__ static inline B32 clusterlaunchcontrol_query_cancel_get_first_ctaid_y( | ||
B128 try_cancel_response); | ||
clusterlaunchcontrol.query_cancel.get_first_ctaid::z.b32.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.query_cancel.get_first_ctaid::z.b32.b128 ret_dim, try_cancel_response; // PTX ISA 86, SM_100 | ||
template <typename B32, enable_if_t<sizeof(B32) == 4, bool> = true, typename B128, enable_if_t<sizeof(B128) == 16, bool> = true> | ||
__device__ static inline B32 clusterlaunchcontrol_query_cancel_get_first_ctaid_z( | ||
B128 try_cancel_response); | ||
clusterlaunchcontrol.query_cancel.get_first_ctaid.v4.b32.b128 | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
.. code:: cuda | ||
// clusterlaunchcontrol.query_cancel.get_first_ctaid.v4.b32.b128 block_dim, try_cancel_response; // PTX ISA 86, SM_100 | ||
template <typename B32, enable_if_t<sizeof(B32) == 4, bool> = true, typename B128, enable_if_t<sizeof(B128) == 16, bool> = true> | ||
__device__ static inline void clusterlaunchcontrol_query_cancel_get_first_ctaid( | ||
B32 (&block_dim)[4], | ||
B128 try_cancel_response); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.