Intel Esimd Fuse

Expert guidance for implementing fused multi-operation kernels on Intel GPUs using ESIMD. Use this skill whenever the user needs to fuse multiple operations into a single kernel pass to minimize memory traffic, such as softmax + top-K + normalize, or any pipeline that chains reduction, selection, and normalization in one kernel. Also trigger for ESIMD softmax implementation, vectorized exp on simd<float,N> for a full row, detail::sum vs reduce pitfall (reduce silently returns 0), fused attention block selection with probability normalization, or any kernel that computes softmax probabilities and immediately selects the top-K entries. The main example is the fused softmax+topk+normalize V2 variant achieving 43.2 GB/s (43% bandwidth utilization) for seq_len=32K, N=128, K=8.

ModelTC b4cd150 8.3 KB Updated

File contents

modeltc/lightx2v/tree/main/.claude/skills/lightx2v_kernel_skills/Intel_XPU/kernel_basic_skills/intel-esimd-fuse commit b4cd150f5c

Frequently asked questions

npx skillmds@latest add modeltc/intel-esimd-fuse