Skip to main content

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 2 UInt64s (16B aligned) that will store the result of the cancellation request.
  • mbar (UnsafePointer[SIMD[int64, 1], address_space=AddressSpace(3)]): A pointer to an Int64 (8B aligned) memory barrier state.

Was this page helpful?