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>
This commit is contained in:
claudeandClaude Opus 5.5 committed 2026-10-28 21:48:42 +01:00
commit d28309dc85
6 files changed
+837

No files matched your search

+65
View File
@@ -0,0 +1,65 @@
# Intel Arc Pro B50: GPU instruction set and hardware profile
**ISA:** Xe2-HPG (Battlemage), the same instruction set as B60, B65 and B70. Full ISA details are in [xe2-hpg-isa.md](xe2-hpg-isa.md).
## Identity
| Item | Value |
|---|---|
| Die | BMG-G21 (cut down: 16 of 20 Xe-cores) |
| GFX IP version | 20.1.4 |
| SYCL AOT target | `-fsycl-targets=intel_gpu_bmg_g21` (or `intel_gpu_bmg`) |
| ocloc device | `-device 20.1.4` |
| Board | Dual-slot, small form factor. Intel-branded and partner cards. |
## Compute resources
| Resource | Count |
|---|---|
| Xe-cores | **16** |
| Vector Engines (XVE, SIMD16 FP32) | 128 |
| Hardware threads | 1,024 (8 per XVE) |
| FP32 lanes | 2,048 |
| XMX matrix engines | 128 |
| Ray-tracing units | 16 |
| Resident work-items | 16,384 at SIMD16 / 32,768 at SIMD32 (small-GRF mode) |
| Total GRF | 8 MB (1,024 threads × 8 KB) |
| SLM | 128 KB per Xe-core (2 MB total), max 128 KB per work-group |
## Throughput (dense, peak)
| Metric | Value | Source |
|---|---|---|
| Boost clock | ~2.60 GHz | derived from Intel FP32 spec |
| FP32 (vector) | **10.65 TFLOPS** | Intel datasheet |
| FP16 / BF16 (XMX) | ~85.2 TFLOPS | derived: 16 × 2048 × 2.6 GHz |
| INT8 (XMX) | **170 TOPS** | Intel datasheet |
## Memory and I/O
| Item | Value |
|---|---|
| VRAM | **16 GB GDDR6**, 128-bit, 14 Gbps |
| Bandwidth | **224 GB/s** |
| Compute/bandwidth ridge | ~380 FLOP/byte (XMX FP16), ~48 FLOP/byte (FP32) |
| PCIe | Gen 5.0 x16 physical, **x8 electrical**; Gen 4 compatible |
| Board power | **70 W** |
| Display | up to 4 outputs; up to 2 × 8K60 |
| APIs | DirectX 12 Ultimate, Vulkan 1.3, OpenCL 3.0, OpenGL 4.6, oneAPI, OpenVINO |
| Media | AV1, HEVC, H.264, VP9 encode/decode |
## ISA quick reference (Xe2-HPG)
- SIMD16 native; sub-group sizes **16 / 32**; max work-group 1024.
- 64-byte GRF registers; 128 per thread (8 KB) or 256 in large-GRF mode (4 threads/XVE).
- **DPAS** (XMX): M = 1 to 8, N = 16, K = 16 (FP16/BF16), 32 (INT8), 8 (TF32); INT4/INT2 too. No FP8 inputs.
- All 64 instructions with opcodes and type rules: [xe2-hpg-isa.md §4](xe2-hpg-isa.md#4-complete-instruction-set-xe2-eu-isa).
- `dp4a` INT8 dot product on the vector engines; native FP64 (low rate).
- 2D block load/store/prefetch with VNNI/transpose feeds DPAS.
## Tuning notes
- This is the most bandwidth-limited card of the four (224 GB/s). LLM token generation is memory-bound.
Rough ceiling: tokens/s ≈ 224 GB/s ÷ bytes of weights read per token. For example, an ~8B model at Q4 (~4.7 GB) tops out around 45 tok/s.
- 16 GB fits up to ~14B-parameter models at 4-bit with room for KV cache.
- Note: Intel's B50 datasheet lists the cores as "16 Xe-HPG". The die is Battlemage, so the cores are Xe2-HPG.