๐Ÿ”ฅโ€นAct VII ยท Fireteams
โœฆ 0 XP
Chapter 1 / 3

One fireteam, one voice

New here? Read the 60-sec briefing โ†—

Thirty-two bots move as one fireteam, a warp. To tally the squad's readings you don't need shared memory or a barrier: the fireteam sums itself in a single hardware step, every lane handing its value inward at once.

A warp is 32 threads (lanes) executing in lockstep. warp_sum reduces a value across all 32 lanes in one instruction, no shared memory, no barrier. Warp-synchronous reductions are the fastest way to combine within a block.

YOUR TASK
  1. 1value is this lane's reading.
  2. 2Reduce it across all 32 lanes of the fireteam into total.
๐Ÿ’ก Reduce across the warp in one step: total = warp_sum(value).
fireteam/warp_sum.mojo
PUZZLE 24 ยท WARP SUM
Clear all 3 chapters to forge๐Ÿ›ฐ๏ธ Fireteam Core Shard