You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let summary = "Request atomically canceling the launch of a cluster that has not started running yet";
4441
+
let description = [{
4442
+
`clusterlaunchcontrol.try.cancel` requests atomically canceling the launch
4443
+
of a cluster that has not started running yet. It asynchronously writes an
4444
+
opaque response to shared memory indicating whether the operation succeeded
4445
+
or failed.
4446
+
4447
+
Operand `smemAddress` specifies the naturally aligned address of the
4448
+
16-byte wide shared memory location where the request's response is written.
4449
+
4450
+
Operand `mbarrier` specifies the mbarrier object used to track the
4451
+
completion of the asynchronous operation.
4452
+
4453
+
If `multicast` is specified, the response is asynchronously written to the
4454
+
corresponding local shared memory location (specifed by `addr`) of each CTA
4455
+
in the requesting cluster.
4456
+
4457
+
[For more information, see PTX ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/#parallel-synchronization-and-communication-instructions-clusterlaunchcontrol-try-cancel)
4458
+
}];
4459
+
4460
+
let arguments = (ins UnitAttr:$multicast,
4461
+
LLVM_PointerShared: $smemAddress,
4462
+
LLVM_PointerShared: $mbarrier);
4463
+
4464
+
let assemblyFormat = "(`multicast` $multicast^ `,`)? $smemAddress `,` $mbarrier attr-dict";
let summary = "Query the response of a clusterlaunchcontrol.try.cancel operation";
4506
+
let description = [{
4507
+
`clusterlaunchcontrol.query.cancel` queries the response of a
4508
+
`clusterlaunchcontrol.try.cancel` operation specified by operand
4509
+
`try_cancel_response`.
4510
+
4511
+
Operand `query_type` specifies the type of query to perform and can be one
4512
+
of the following:
4513
+
- `is_canceled` : Returns true if the try cancel request succeeded,
4514
+
and false otherwise.
4515
+
- `get_first_cta_id_{x/y/z}` : Returns the x, y, or z coordinate of the
4516
+
first CTA in the canceled cluster. Behaviour is defined only if the try
4517
+
cancel request succeeded.
4518
+
4519
+
[For more information, see PTX ISA](https://docs.nvidia.com/cuda/parallel-thread-execution/#parallel-synchronization-and-communication-instructions-clusterlaunchcontrol-query-cancel)
4520
+
}];
4521
+
4522
+
let arguments = (ins ClusterLaunchControlQueryTypeAttr:$query_type,
0 commit comments