Files
instructionsets/README.md
T
claudeandClaude Opus 5.5 d28309dc85 Add Xe2-HPG instruction set reference for Intel Arc Pro B50/B60/B65/B70
- xe2-hpg-isa.md: complete Xe2 EU instruction set (64 instructions) with
  opcodes, operands, modifiers and type rules, extracted from Intel's IGA
  assembler and cross-checked against GED (IGC commit 58f8018). Also covers
  math/sync functions, registers, SWSB, LSC messages, DPAS/XMX, data types
  and API exposure.
- intel-arc-pro-b50/b60/b65/b70.md: per-card profiles (compute resources,
  throughput, memory, compiler targets, tuning notes).
- README.md: comparison table, accuracy notes and sources.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 21:48:42 +01:00

70 lines
6.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Intel Arc Pro B-Series: GPU instruction sets
All four cards run the **same ISA: Xe2-HPG (Battlemage)**. Code written for one runs on all of them.
They differ in die, unit count, clocks and memory, and in the IP version used for AOT-compiled binaries.
| File | Contents |
|---|---|
| [xe2-hpg-isa.md](xe2-hpg-isa.md) | Shared ISA reference: **complete list of all 64 Xe2 instructions** with opcodes, operands, modifiers and type rules; math/sync functions; registers; memory messages; DPAS/XMX; data types; API exposure; asm dumping |
| [intel-arc-pro-b50.md](intel-arc-pro-b50.md) | B50 profile (BMG-G21, 16 Xe-cores, 16 GB) |
| [intel-arc-pro-b60.md](intel-arc-pro-b60.md) | B60 profile (BMG-G21, 20 Xe-cores, 24 GB) |
| [intel-arc-pro-b65.md](intel-arc-pro-b65.md) | B65 profile (BMG-G31, 20 Xe-cores, 32 GB) |
| [intel-arc-pro-b70.md](intel-arc-pro-b70.md) | B70 profile (BMG-G31, 32 Xe-cores, 32 GB) |
## Comparison
| | **B50** | **B60** | **B65** | **B70** |
|---|---|---|---|---|
| ISA | Xe2-HPG | Xe2-HPG | Xe2-HPG | Xe2-HPG |
| Die | BMG-G21 | BMG-G21 | BMG-G31 | BMG-G31 |
| IP version | 20.1.4 | 20.1.4 | 20.2.0 | 20.2.0 |
| SYCL target | `intel_gpu_bmg_g21` | `intel_gpu_bmg_g21` | `intel_gpu_bmg_g31` | `intel_gpu_bmg_g31` |
| Xe-cores | 16 | 20 | 20 | 32 |
| Vector engines / HW threads | 128 / 1,024 | 160 / 1,280 | 160 / 1,280 | 256 / 2,048 |
| XMX engines | 128 | 160 | 160 | 256 |
| RT units | 16 | 20 | 20 | 32 |
| Boost clock | ~2.6 GHz | ~2.4 GHz | ~2.4 GHz | 2.8 GHz |
| FP32 TFLOPS | 10.65 | 12.28 | ~12.28 | ~22.94 |
| FP16/BF16 XMX TFLOPS (derived) | ~85 | ~98 | ~98 | ~184 |
| INT8 TOPS (dense) | 170 | 197 | 197 | 367 |
| VRAM | 16 GB GDDR6 | 24 GB GDDR6 | 32 GB GDDR6 | 32 GB GDDR6 |
| Bus / bandwidth | 128-bit / 224 GB/s | 192-bit / 456 GB/s | 256-bit / 608 GB/s | 256-bit / 608 GB/s |
| PCIe | 5.0 x8 electrical | 5.0 x8 electrical | 5.0 x16 | 5.0 x16 |
| Board power | 70 W | 120 to 200 W | 200 W | 160 to 290 W (ref. 230 W) |
### Common to all four (per Xe-core)
- 8 vector engines × SIMD16 FP32 = **256 FP32 FLOP/clk**
- 8 XMX engines = **2048 FP16/BF16 FLOP/clk** and **4096 INT8 OP/clk**
- 256 KB L1/SLM (up to 128 KB SLM per work-group); 8 threads per vector engine
- Sub-groups 16/32; GRF 128 × 64 B per thread (256 in large-GRF mode)
- DPAS: M ≤ 8, N = 16, K = 16 (FP16/BF16) / 32 (INT8) / 8 (TF32); also INT4/INT2 (via ESIMD)
- FP8 only as E5M2 conversions (`mov`, `srnd`); no E4M3, no FP8/FP4 matrix inputs
- Hardware `math`: inv, log₂, exp₂, sqrt, rsqrt, sin, cos (+ division/sqrt macro steps). No hardware pow, fdiv or integer divide.
## Accuracy notes
- **Intel datasheets** (March 2026) are the source for Xe-cores, XMX, RT units, INT8 TOPS, memory, bandwidth, bus width, PCIe and APIs.
They also give FP32 for B50/B60.
- **Press coverage** is the source for B65/B70 FP32, clocks, B70 power range and die size. These numbers are consistent with Intel's TOPS figures.
- **Derived** values (FP16 XMX TFLOPS, thread counts, ridge points, decode ceilings) are computed from per-Xe-core rates × units × boost clock.
They are peak values, not measured.
- Intel has **not published an Xe2 ISA/PRM document**. The complete instruction list, function codes, registers and memory
messages are extracted from Intel's own assembler (IGA) and encoder library (GED) in the open-source Intel Graphics Compiler,
commit `58f8018` (2026-10-28). IGA's 64 Xe2 instructions match GED's Xe2 opcode list exactly. These sources define what the
hardware accepts, but not latencies or exact numerical behaviour.
## Sources
- Intel datasheets: [B50](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2026-03/datasheet-b50-gpu.pdf), [B60](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2026-03/datasheet-b60-gpu.pdf), [B65](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2026-03/datasheet-b65-gpu.pdf), [B70](https://www.intel.com/content/dam/www/central-libraries/us/en/documents/2026-03/datasheet-b70-gpu.pdf)
- [Intel oneAPI GPU Optimization Guide: Intel Xe GPU Architecture](https://www.intel.com/content/www/us/en/docs/oneapi/optimization-guide-gpu/2025-2/intel-xe-gpu-architecture.html)
- [SYCL `sycl_ext_oneapi_matrix` spec (XMX supported combinations)](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_matrix/sycl_ext_oneapi_matrix.asciidoc)
- [intel/llvm SYCL UsersManual (`-fsycl-targets`, IP versions)](https://github.com/intel/llvm/blob/sycl/sycl/doc/UsersManual.md)
- [MLIR XeGPU uArch: IntelGpuXe2.h](https://mlir.llvm.org/doxygen/IntelGpuXe2_8h_source.html)
- Intel Graphics Compiler: [IGA Xe2 opcode table (`ModelXe2.hpp`)](https://github.com/intel/intel-graphics-compiler/blob/master/visa/iga/IGALibrary/Models/bxml/ModelXe2.hpp), [IGA register table (`Models.cpp`)](https://github.com/intel/intel-graphics-compiler/blob/master/visa/iga/IGALibrary/Models/Models.cpp), [IGA LSC decoder](https://github.com/intel/intel-graphics-compiler/blob/master/visa/iga/IGALibrary/Backend/Messages/MessageDecoderLSC.cpp), [GED enumerations (per-platform values)](https://github.com/intel/intel-graphics-compiler/blob/master/visa/iga/GEDLibrary/GED_external/build/autogen-intel64/ged_enumerations.h)
- [SYCL ESIMD `dpas_argument_type`](https://github.com/intel/llvm/blob/sycl/sycl/include/sycl/ext/intel/esimd/xmx/common.hpp)
- [Phoronix: Intel Announces Arc Pro B70](https://www.phoronix.com/news/Intel-Arc-Pro-B70-Announced) · [ServeTheHome: Arc Pro B70 and B65](https://www.servethehome.com/intel-announces-arc-pro-b70-and-b65-video-cards-big-battlemage-brings-big-memory-for-ai-workstations/) · [HWCooling: B70/B65](https://www.hwcooling.net/intel-vydal-grafiky-s-velkym-gpu-battlemage-arc-pro-b70-a-b65/)
- [Phoronix: Mesa BMG-G31 IDs](https://phoronix.com/news/Intel-BMG-G31-Mesa-25.2)
- [Chips and Cheese: Intel's Battlemage Architecture](https://chipsandcheese.com/p/intels-battlemage-architecture) · [Notebookcheck: Xe2 XMX data types](https://www.notebookcheck.net/Intel-reveals-Xe2-Battlemage-GPU-architecture-initially-launching-with-Lunar-Lake-CPUs-in-low-power-form.843925.0.html)
- [Intel Community: Xe2 PRM request](https://community.intel.com/t5/Graphics/Xe2-Programmer-s-Reference-Manual/td-p/1708752)