Skip to main content
Version: 1.0

clusterlaunchcontrol_try_cancel

clusterlaunchcontrol_try_cancel[multicast: Bool = False](result: UnsafePointer[UInt128, result.origin, address_space=AddressSpace.SHARED], mbar: UnsafePointer[Int64, mbar.origin, address_space=AddressSpace.SHARED])

Requests to atomically cancel the cluster launch if it has not started running yet.

Only supported on NVIDIA SM100+ GPUs.

Parameters:

  • multicast (Bool): Whether to use multicast mode.

Args:

  • result (UnsafePointer): A pointer to UInt128 (16B aligned) that will store the result of the cancellation request.
  • mbar (UnsafePointer): A pointer to an Int64 (8B aligned) memory barrier state.