Skip to main content
Log in

Mojo function

schedule_group_barrier

schedule_group_barrier(mask: AMDScheduleBarrierMask, size: SIMD[int32, 1], sync_id: SIMD[int32, 1])

Controls instruction scheduling by creating schedule groups with custom sequence. The intrinsic applies to the code that precedes it.

Args:

  • mask (AMDScheduleBarrierMask): Instruction mask value, same as schedule_barrier masks.
  • size (SIMD[int32, 1]): Number of times to repeat the instruction.
  • sync_id (SIMD[int32, 1]): Group ID for ordering instructions in sequence within the same group.