Mojo function
clusterlaunchcontrol_try_cancel
clusterlaunchcontrol_try_cancel[multicast: Bool = False](result: UnsafePointer[SIMD[uint64, 1], address_space=AddressSpace(3)], mbar: UnsafePointer[SIMD[int64, 1], address_space=AddressSpace(3)])
Requests to atomically cancel the cluster launch if it has not started running yet.
Only supported on NVIDIA SM100+ GPUs.
Args:
- result (
UnsafePointer[SIMD[uint64, 1], address_space=AddressSpace(3)]
): A pointer to 2UInt64
s (16B aligned) that will store the result of the cancellation request. - mbar (
UnsafePointer[SIMD[int64, 1], address_space=AddressSpace(3)]
): A pointer to anInt64
(8B aligned) memory barrier state.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!