[Mlir-commits] [mlir] [mlir][NVMM] Add `globaltimer_wait` op (PR #129065)
Guray Ozen
llvmlistbot at llvm.org
Sat Mar 1 02:30:29 PST 2025
================
@@ -2614,6 +2613,31 @@ def NVVM_Breakpoint : NVVM_Op<"breakpoint"> {
let assemblyFormat = "attr-dict";
}
+def NVVM_GlobalTimerWaitOp : NVVM_PTXBuilder_Op<"globaltimer_wait">,
+ Arguments<(ins I64:$time)> {
+ let summary = "globaltimer busy loop";
+ let description = [{
+ Wait in busy loop for certain number of nanoseconds.
+ [For more information, see PTX ISA.](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#special-registers-globaltimer)
----------------
grypp wrote:
This is helper op with busy loop. We don't need to refer anything
https://github.com/llvm/llvm-project/pull/129065
More information about the Mlir-commits
mailing list