Kernels (CUDA / Triton / Pallas)

What a kernel is, CUDA vs Triton vs Pallas, and the FlashAttention idea: tiling and online softmax.

0 / 11 solved
0/11 solved
Question Tags Difficulty Success
1. Counting Threads in a Launch
cudakernel-launch +2
Easy —
2. What pid Indexes in a Triton Kernel
tritonkernels +3
Medium —
3. Async Copy Fence
pallastpu-dma
Hard —
4. Computing Occupancy, Then Ignoring It
occupancyregisters +3
Hard —
5. Softmax on the Fly
flashattentionkernels +1
Hard —
6. One Trip, No Detours
kernel-fusiongpu-memory +1
Hard —
7. Which Tile Am I
pallasblockspec
Hard —
8. Split-Q, Not Split-K
flash-attentiongpu-kernels +1
Hard —
9. Rescale The Running Max
flashattentiononline-softmax
Insane —
10. Producers, Consumers, and Rotated Outliers
flash-attentionhopper +2
Insane —
11. Pallas Skips the Refetch
pallastpu +2
Insane —

Up next

11 of 11 questions here are still unsolved.