================
@@ -1868,6 +1868,38 @@ If the request failed, the behavior of these intrinsics 
is undefined.
 
 For more information, refer `PTX ISA 
<https://docs.nvidia.com/cuda/parallel-thread-execution/?a#parallel-synchronization-and-communication-instructions-clusterlaunchcontrol-query-cancel>`__.
 
+Perf Monitor Event Intrinsics
+-----------------------------
+
+'``llvm.nvvm.pm.event.[idx|mask]``' Intrinsics
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+.. code-block:: llvm
+
+    declare void @llvm.nvvm.pm.event.idx(i32 immarg %idx_val)
----------------
durga4github wrote:

Thanks for the prompt on this, Alex!

I checked this and sass only has the `mask` variant.
The `immediate` variant is only a syntactic sugar from ptx and ptxas internally 
converts it to the `mask` variant.

So, I have removed the `idx` variant, and we only have the `mask` variant in 
the latest revision now.

https://github.com/llvm/llvm-project/pull/141278
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to