Optimizing AI Workloads on Intel GPUs with OpenCL
summary
Intel XE2 GPUs use XE cores with heavy XMX matrix units (up to ~8,000 ops/clock on tiny datatypes vs ~256 FP32), and device vs host USM allocations with hardware bandwidth compression giving up to 4x DRAM→L2 savings. Short AI kernels (5–10 μs) force driver changes: ULS (ultra‑low latency submission) keeps a GPU context live to avoid ~150 μs wake/context costs, plus resource pools, async free and recycling. Result: submission latency drops >20× and end‑to‑end submit time falls to ~2–3 μs on XE2/Battlemage.
AI-written summary · about
