Files
instructionsets/xe2-hpg-isa.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

24 KiB
Raw Blame History

Xe2-HPG (Battlemage) GPU Instruction Set: shared reference

This applies to all four cards: Arc Pro B50 and B60 use the BMG-G21 die, and Arc Pro B65 and B70 use BMG-G31. Both dies implement the same Xe2-HPG ISA. They differ in how many units are enabled, in clocks and memory, and in the hardware IP version, which matters only for ahead-of-time (AOT) compiled binaries.

Where the instruction set comes from. Intel has not published an Xe2 PRM (Programmer's Reference Manual). Sections 3 to 7 are extracted from Intel's own IGA assembler and its GED encoder library. Both are part of the open-source Intel Graphics Compiler (IGC), which every SYCL, OpenCL, Level Zero and oneAPI program on these cards goes through. The extraction used IGC commit 58f8018 (2026-10-28). IGC maps Battlemage (IGFX_XE2_HPG_CORE) to IGA's XE2 platform model, which Lunar Lake also uses. IGA and GED define which instructions, operand types, function codes and message types the hardware accepts. They do not document latencies or exact numerical behaviour, which only a PRM would give.


1. Identification / compiler targets

Die Cards GFX IP version SYCL AOT target Umbrella target
BMG-G21 Arc Pro B50, Arc Pro B60 (also B570/B580) 20.1.4 intel_gpu_bmg_g21 intel_gpu_bmg
BMG-G31 Arc Pro B65, Arc Pro B70 20.2.0 intel_gpu_bmg_g31 intel_gpu_bmg
  • The intel_gpu_bmg umbrella target is compatible with all intel_gpu_bmg_g* targets and with intel_gpu_lnl_m (Lunar Lake, also Xe2).
  • SPIR-V/JIT binaries (the default without -fsycl-targets) run on both dies. The driver's IGC compiles them at load time.
  • Linux PCI IDs 0xE220 to 0xE223 are identified as BMG-G31 in Mesa 25.2 and later.
  • In IGA the platform is called xe2 (aliases 2, lnl). There is no separate Battlemage model.
# SYCL AOT for both Battlemage dies
icpx -fsycl -fsycl-targets=intel_gpu_bmg_g21,intel_gpu_bmg_g31 app.cpp -o app
# OpenCL C → native binary via ocloc (device given as IP version)
ocloc compile -file kernel.cl -device 20.2.0

2. Execution hierarchy

Unit Contents
Xe-core 8 Vector Engines (XVE), 8 XMX matrix engines, 1 ray-tracing unit, 256 KB shared L1/SLM
Vector Engine (XVE) 512-bit SIMD ALU (16 × FP32 lanes), 8 hardware threads
XMX engine systolic matrix engine (DPAS), 2048-bit
Per Xe-core per clock 256 FP32 FLOP (128 FMA), 2048 FP16/BF16 FLOP (XMX), 4096 INT8 OP (XMX)
  • Native SIMD width: 16. Supported sub-group sizes: 16 and 32 (SIMD8 no longer exists; Xe-HPG/Alchemist had it).
  • Instruction execution sizes: 1, 2, 4, 8, 16 or 32 channels.
  • Hardware threads per XVE: 8 (64 per Xe-core).
  • Max work-group size: 1024.
  • SLM: 128 KB per Xe-core and max 128 KB per work-group. It is carved out of the 256 KB L1/SLM.
  • Last-level cache: 18 MB on the full BMG-G21 (B580). Intel has not published per-SKU values for the Pro cards. The ISA and the oneAPI guide call this cache "L3". Marketing calls it "L2".

3. Registers

General register file (GRF)

Item Value
GRF register width 512 bit (64 bytes), i.e. one register holds 16 × FP32
GRF per thread (default) 128 registers = 8 KB
GRF per thread (large-GRF mode) 256 registers = 16 KB (IGA's Xe2 model addresses r0–r255). Halves resident threads per XVE (8 → 4).

Large-GRF mode trades occupancy for fewer register spills. It is useful for big DPAS tiles. With SIMD16 it caps the effective work-group size at 512 (32 threads per Xe-core × 16 lanes).

  • SYCL: kernel property sycl::ext::intel::experimental::grf_size<256> (or grf_size_automatic).
  • OpenCL/IGC: build option -ze-opt-large-register-file.

Architecture registers (ARF), from IGA's Xe2 register table

Register Size Purpose
null n/a discard destination / zero source
a0 1 × 32 B (a0.0–a0.15, 16-bit each) address register for indirect register addressing
acc0–acc15 16 × 64 B accumulators, used implicitly by mac, mach and macl
mme0–mme7 aliases of acc8–acc15 math-macro registers for math.invm / math.rsqtm division and square-root sequences
f0–f3 4 × 32 bit (f0.0, f0.1 halves) flag registers: predication masks and conditional-modifier results
ce 32 bit channel enable
msg0, msg1 12 B, 32 B message control
sr0 16 B state register
cr0 12 B control register (rounding / float modes, exceptions)
n0 12 B notification register (barrier and host signals)
ip 4 B instruction pointer
tdr0 16 B thread dependency register
tm0 20 B timestamp
fc0–fc2 64 B, 64 B, 8 B flow-control state
dbg0 8 B debug

Dependency tracking (software scoreboard, SWSB)

Xe2 does not stall on register hazards by itself. Every instruction carries a scoreboard annotation that the compiler sets.

  • In-order ALU pipes: distance annotations @n (any pipe), F@n (float), I@n (integer), L@n (long / 64-bit), M@n (math) and A@n (all pipes), with n = 1 to 7. IGA calls this mode "four distance pipes with long-pipe reduction".
  • Out-of-order instructions (send, sendc, dpas) use 32 SBID tokens ($0–$31). A consumer waits with $n, $n.dst or $n.src, and sync.allrd / sync.allwr wait for all of them.

4. Complete instruction set (Xe2 EU ISA)

Generated from IGA's Xe2 opcode table (visa/iga/IGALibrary/Models/bxml/ModelXe2.hpp). The opcode list matches GED's Xe2 opcode enum exactly.

Modifier columns: P = predication: (f0.0), (~f0.0) inverted, (f0.0.any), (f0.0.all). C = conditional modifier writing a flag: .z .nz .g .ge .l .le .o (overflow) .u (unordered/NaN). S = .sat saturation. M = source modifiers - (negate), (abs) or both; on logic ops ~ is bitwise NOT. B = branch control. Every instruction can also set an execution size, a channel offset (M0/M8/M16/M24), NoMask (ignore the execution mask) and SWSB annotations.

Type names: ub/b = u8/s8, uw/w = u16/s16, ud/d = u32/s32, uq/q = u64/s64, hf = FP16, f = FP32, df = FP64, bf = BF16, bf8 = FP8 E5M2, tf32 = TF32, u4/s4/u2/s2 = packed sub-byte integers (DPAS only). Immediates can also be the packed vectors v/uv (8 × 4-bit int) and vf (4 × 8-bit float).

Total: 64 instructions (64 distinct opcodes).

Move and select

Mnemonic Opcode Description Operands Modifiers
mov 0x61 Move dst, src0 PCSM
movi 0x63 Move Indexed dst, src0, src1 PSM
sel 0x62 Select dst, src0, src1 PCSM
csel 0x72 Conditional Select dst, src0, src1, src2 CSM

Integer and float arithmetic

Mnemonic Opcode Description Operands Modifiers
add 0x40 Addition dst, src0, src1 PCSM
add3 0x52 Addition Ternary dst, src0, src1, src2 PCSM
addc 0x4E Addition with Carry dst, src0, src1 PC
subb 0x4F Subtraction with Borrow dst, src0, src1 PCS
mul 0x41 Multiply dst, src0, src1 PCSM
mac 0x48 Multiply Accumulate dst, src0, src1 PCSM
mach 0x49 Multiply Accumulate High dst, src0, src1 PM
macl 0x53 Multiply Accumulate Low dst, src0, src1 PM
mad 0x5B Multiply Add dst, src0, src1, src2 PCSM
madm 0x5D Multiply Add for Macro dst, src0, src1, src2 PM
avg 0x42 Average dst, src0, src1 PCSM

Rounding and conversion

Mnemonic Opcode Description Operands Modifiers
frc 0x43 Fraction dst, src0 PCM
rndd 0x45 Round Down dst, src0 PCSM
rndu 0x44 Round Up dst, src0 PCSM
rnde 0x46 Round to Nearest or Even dst, src0 PCSM
rndz 0x47 Round to Zero dst, src0 PCSM
srnd 0x54 Stochastic Rounding dst, src0, src1 -

Compare

Mnemonic Opcode Description Operands Modifiers
cmp 0x70 Compare dst, src0, src1 PCM
cmpn 0x71 Compare NaN dst, src0, src1 PCM

Logic and shifts

Mnemonic Opcode Description Operands Modifiers
and 0x65 Logic And dst, src0, src1 PCM
or 0x66 Logic Or dst, src0, src1 PCM
xor 0x67 Logic Xor dst, src0, src1 PCM
not 0x64 Logic Not dst, src0 PCM
bfn 0x6B Boolean Function dst, src0, src1, src2 PC
shl 0x69 Shift Left dst, src0, src1 PCSM
shr 0x68 Shift Right dst, src0, src1 PCSM
asr 0x6C Arithmetic Shift Right dst, src0, src1 PCSM
rol 0x6F Rotate Left dst, src0, src1 PC
ror 0x6E Rotate Right dst, src0, src1 PC

Bit manipulation

Mnemonic Opcode Description Operands Modifiers
bfe 0x78 Bit Field Extract dst, src0, src1, src2 P
bfi1 0x79 Bit Field Insert 1 dst, src0, src1 P
bfi2 0x7A Bit Field Insert 2 dst, src0, src1, src2 P
bfrev 0x77 Bit Field Reverse dst, src0 P
cbit 0x4D Count Bits Set dst, src0 P
fbh 0x4B Find First Bit from MSB Side dst, src0 P
fbl 0x4C Find First Bit from LSB Side dst, src0 P
lzd 0x4A Leading Zero Detection dst, src0 PC

Extended math

Mnemonic Opcode Description Operands Modifiers
math 0x38 Extended Math Function dst, src0 [, src1] PSM

Dot product and matrix

Mnemonic Opcode Description Operands Modifiers
dp4a 0x58 Dot Product 4 Accumulate dst, src0, src1, src2 PCS
dpas 0x59 Dot Product Accumulate Systolic dst, src0, src1, src2 -

Messages (memory, sampler, barrier, ray tracing)

Mnemonic Opcode Description Operands Modifiers
send 0x31 Send Message dst, src0, src1, exdesc, desc P
sendc 0x32 Send Message Conditional dst, src0, src1, exdesc, desc P

Control flow

Mnemonic Opcode Description Operands Modifiers
if 0x22 If label0 [, label1] PB
else 0x24 Else label0 [, label1] B
endif 0x25 End If label -
while 0x27 While label P
break 0x28 Break label0 [, label1] P
cont 0x29 Continue label0 [, label1] P
goto 0x2E Goto label0 [, label1] PB
join 0x2F Join label P
jmpi 0x20 Jump Indexed src0 / label P
brc 0x23 Branch Converging label0, label1 / src0 P
brd 0x21 Branch Diverging src0 / label P
call 0x2C Call dst, src0 / label P
calla 0x2B Call Absolute dst, src0 / label P
ret 0x2D Return src0 P
halt 0x2A Halt label0 [, label1] P

Synchronization and misc

Mnemonic Opcode Description Operands Modifiers
sync 0x01 Synchronize src0 -
nop 0x60 No Operation - -
illegal 0x00 Illegal - -

Type rules (destination ← source)

Only instructions that IGA type-checks are listed. All others take no typed operands or accept any type.

  • mov: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; f ← ub/b/uw/w/ud/d; ub/b/uw/w/ud/d ← f; f ← f; tf32 ← f; hf ← ub/b/uw/w/ud/d; ub/b/uw/w/ud/d ← hf; hf ← hf; hf ← f; f ← hf; bf ← f; bf8 ← hf; hf ← bf8; df/f/uq/q/uw/w/ud/d ← df; df ← f/uq/q/uw/w/ud/d; uq/q/f/uw/w/ud/d ← uq/q; uq/q ← f/uw/w/ud/d
  • movi: b ← b; ub ← ub; w ← w; uw ← uw; d ← d; ud ← ud
  • sel: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; f ← f; hf ← hf; bf/f ← bf/f
  • csel: f ← f; hf ← hf; ud/d ← ud/d; uw/w ← uw/w
  • add: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; f ← f; hf ← hf; bf/f ← bf/f; df ← df; uq/q ← uw/w/ud/d/uq/q; uw/w/ud/d ← uq/q
  • add3: uw/w/ud/d ← uw/w/ud/d
  • addc: ud ← ud
  • subb: ud ← ud
  • mul: uw/w ← uw/w; ud/d ← uw/w; ud/d ← uw/w/ud/d; f ← f; hf ← hf; bf/f ← bf/f
  • mac: uw/w/ud/d ← ub/b/uw/w; f ← f; hf ← hf; f ← bf/f; df ← df
  • mach: d ← d; ud ← ud
  • macl: d ← d; ud ← ud
  • mad: f ← f; hf ← hf; bf/f ← bf/f; uw/w/ud/d ← uw/w/ud/d; df ← df
  • madm: f ← f; df ← df
  • avg: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d
  • frc: f ← f
  • rndd: f ← f
  • rndu: f ← f
  • rnde: f ← f
  • rndz: f ← f
  • srnd: hf ← f; bf8 ← hf
  • cmp: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; f ← f; hf ← hf; bf/f ← bf/f; df ← df
  • cmpn: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; f ← f; hf ← hf; df ← df
  • and: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d
  • or: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d
  • xor: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d
  • not: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d
  • bfn: ud/uw ← ud/uw
  • shl: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; uq/q ← uw/w/ud/d/uq/q; uw/w/ud/d ← uq/q
  • shr: ub/uw/ud ← ub/b/uw/w/ud/d; uq ← uw/w/ud/d/uq/q; uw/ud ← uq/q
  • asr: ub/b/uw/w/ud/d ← ub/b/uw/w/ud/d; uq/q ← uw/w/ud/d/uq/q; uw/w/ud/d ← uq/q
  • rol: uw/ud ← uw/ud; uq ← uq
  • ror: uw/ud ← uw/ud; uq ← uq
  • bfe: ud ← ud; d ← d
  • bfi1: ud ← ud; d ← d
  • bfi2: ud ← ud; d ← d
  • bfrev: ud/d ← ud/d
  • cbit: ud ← ud/uw/ub
  • fbh: ud ← ud/d
  • fbl: ud ← ud
  • lzd: ud ← ud
  • math: f ← f; hf ← hf; df ← df
  • dp4a: ud/d ← ud/d
  • dpas: ud/d ← ud/d/ub/b/u4/s4/u2/s2; f/bf ← f/bf; f/hf ← f/hf; f ← f/tf32
  • sync: src ub/b/uw/w/ud/d/uq/q/hf/f/df

Changes vs. Xe-HPG (Alchemist, Arc A-series)

  • New in Xe2: macl, srnd
  • Removed in Xe2: dpasw
  • New data types on existing instructions: bfrev (+d), dpas (+tf32), mov (+bf8/tf32), movi (+b/ub/uw/w), rol (+uq), ror (+uq), shr (+b/d/q/w)

math functions on Xe2

From GED's Xe2 encoding table, which lists exactly these nine function codes:

Function Code Sources Meaning
math.inv 1 1 1/x
math.log 2 1 log₂(x)
math.exp 3 1 2ˣ
math.sqt 4 1 √x
math.rsqt 5 1 1/√x
math.sin 6 1 sin(x)
math.cos 7 1 cos(x)
math.invm 14 2 IEEE-exact division macro step (with madm, mme registers, early-out flag .eo)
math.rsqtm 15 1 IEEE-exact square-root macro step (with madm, mme registers, early-out flag .eo)

Types: f, hf and df. Not hardware instructions on Xe2: fdiv, pow and integer divide/remainder (dropped after Gen11/Xe-LP), and tanh/sigm (Xe3P only). Compilers build them from the functions above, for example a/b = a × inv(b), xʸ = exp(y × log(x)), and integer division in software.

sync functions on Xe2

Function Code Purpose
sync.nop 0 carries an SWSB annotation only
sync.allrd 2 wait until all outstanding SBID reads are done
sync.allwr 3 wait until all outstanding SBID writes are done
sync.flush 12 new in Xe2; semantics not publicly documented
sync.fence 13 fence wait
sync.bar 14 wait for the work-group barrier
sync.host 15 wait for a host notification

bfn takes an 8-bit truth table as a function code (bfn.0x00 to bfn.0xFF), so it can compute any boolean function of three inputs.


5. Memory and other messages (send / sendc)

Everything outside the ALU, including memory, barriers, sampling and ray tracing, is a message sent to a shared function (SFID).

Shared functions on Xe2

Code SFID Used for
0x0 null null message
0x1 ugml untyped global memory, low-bandwidth path
0x2 smpl sampler
0x3 gtwy message gateway (work-group barriers, timestamps)
0x4 dc2 legacy data port
0x5 rc render cache (render-target writes)
0x6 urb unified return buffer (graphics pipeline)
0x7 btd bindless thread dispatcher (spawns ray-tracing shaders)
0x8 rta ray-tracing accelerator (trace_ray)
0x9 dcro constant / read-only data port
0xA dc0 legacy data port
0xB pixi pixel interpolator
0xC dc1 legacy data port
0xD tgm typed global memory: images, typed buffers (LSC)
0xE slm shared local memory (LSC)
0xF ugm untyped global memory: buffers, USM pointers (LSC)

Compute kernels mostly use ugm, slm, tgm and gtwy.

LSC (load/store cache) operations valid on Xe2 (from GED)

Op Code Notes
load 0x00 gather load, one address per lane (SIMT), or a transposed block (SIMD)
load_quad 0x02 per-lane load with an X/Y/Z/W component mask
load_block2d 0x03 2D block load into GRF with optional transpose / VNNI transform. Feeds DPAS. Not on Xe-HPG.
store 0x04 scatter store
store_quad 0x06 component-masked store
store_block2d 0x07 2D block store. Not on Xe-HPG.
atomic_iinc / atomic_idec 0x08 / 0x09 integer increment / decrement
atomic_store 0x0B atomic store
atomic_iadd / atomic_isub 0x0C / 0x0D integer add / subtract
atomic_smin / atomic_smax 0x0E / 0x0F signed min / max
atomic_umin / atomic_umax 0x10 / 0x11 unsigned min / max
atomic_icas 0x12 integer compare-and-swap
atomic_fadd / atomic_fsub 0x13 / 0x14 float add / subtract
atomic_fmin / atomic_fmax 0x15 / 0x16 float min / max
atomic_fcas 0x17 float compare-and-swap
atomic_and / atomic_or / atomic_xor 0x18 / 0x19 / 0x1A bitwise atomics
load_status 0x1B new in Xe2
read_state 0x1E read surface state, new in Xe2
fence 0x1F memory fence: scope threadgroup / local / tile / GPU / system; flush evict / invalidate / discard / clean
atomic_acadd / atomic_acsub / atomic_acstore 0x28 / 0x29 / 0x2A append-counter atomics, new in Xe2

atomic_load and store_uncompressed exist on Xe-HPG/Xe-HPC but not on Xe2.

Message field Xe2 values
Data size d8, d16, d32, d64, d8u32, d16u32. On Xe2 the u32 forms zero-extend into 32-bit lanes.
Vector size 1, 2, 3, 4, 8, 16, 32, 64 elements
Address A32 or A64. Surface model: flat, BTI (binding table), SS (surface state) or BSS (bindless surface state).
Load cache control default, L1UC_L3UC, L1UC_L3C, L1UC_L3CC, L1C_L3UC, L1C_L3C, L1C_L3CC, L1S_L3UC, L1S_L3C, L1IAR_L3IAR
Store cache control default, L1UC_L3UC, L1UC_L3WB, L1WT_L3UC, L1WT_L3WB, L1S_L3UC, L1S_L3WB, L1WB_L3WB

Cache-control abbreviations: UC uncached, C cached, CC constant-cached, S streaming, IAR invalidate-after-read, WT write-through, WB write-back.

Xe2 changes to LSC compared with earlier GPUs:

  • The cache-control field grew to 4 bits, which added the load combinations L1UC_L3CC, L1C_L3CC and L1IAR_L3IAR.
  • An immediate address offset can be carried in the extended descriptor.
  • The d8u32 / d16u32 data sizes now zero-extend.

2D block constraints: the surface base must be 64-byte aligned, the pitch a multiple of 16 bytes and the width a multiple of 4 bytes. Exact min/max limits are in cl_intel_subgroup_2d_block_io.


6. XMX / DPAS matrix instruction

dpas.<sdepth>x<rcount> dst, src0(C), src1(B), src2(A) computes D = C + A × B, executed by one sub-group of 16 lanes. dpas takes no predication, conditional modifier or saturation.

Parameter Xe2 value
Execution size (= N) 16
Systolic depth 8
Repeat count (= M) 1 to 8
K 8 × (32 / element bits): 16 for FP16/BF16, 32 for INT8, 64 for INT4, 128 for INT2, 8 for TF32

Operand types (IGA's Xe2 type rules)

A / B inputs Accumulator C / result D
hf (FP16) f or hf
bf (BF16) f or bf
tf32 f
ub/b (u8/s8), u4/s4, u2/s2, in any signedness mix ud/d (INT32)
  • API exposure: joint_matrix, OpenCL and Vulkan cover FP16, BF16, TF32 and INT8. INT4 and INT2 are reachable through SYCL ESIMD xmx::dpas (dpas_argument_type::u4/s4/u2/s2).
  • The DPAS precision field also has encodings for BF8 (FP8) and 1-bit inputs. IGA does not accept them as DPAS inputs on Xe2, and Intel's ESIMD header marks 1-bit "reserved/unsupported". Treat them as unsupported.
  • dpasw (the "wide" DPAS variant on Xe-HPG/Alchemist) no longer exists on Xe2.
  • No structured (2:4) sparsity mode is documented.

Tile shapes exposed by SYCL joint_matrix

A B C/D accumulate M N K
FP16 FP16 FP32 or FP16 1 to 8 16 16
BF16 BF16 FP32 1 to 8 16 16
TF32 TF32 FP32 1 to 8 16 8
INT8 / UINT8 (any signedness mix) INT8 / UINT8 INT32 1 to 8 16 32
  • joint_matrix also exposes composite shapes built from multiple DPAS calls. For FP16 and BF16 these include 16×16×16, 32×64×16, 32×64×32, 1×64×16 and 1×64×32. Prefer M=8, N=16 per DPAS when hand-tiling.
  • B operand layout: VNNI-packed. Pairs of FP16/BF16 values, or quads of INT8 values, are packed along K into 32-bit dwords. The 2D block load can perform this transform.

7. Data types

Unit Types
Vector Engine FP64 (df, native, reduced rate), FP32, FP16, BF16 (add, mul, mad, sel, cmp accept bf/f mixes), INT64, INT32, INT16, INT8
FP8 E5M2 only (bf8), as a conversion format: mov hf↔bf8 and srnd hf→bf8 with stochastic rounding
XMX (DPAS) FP16, BF16, TF32, INT8/UINT8, INT4/UINT4, INT2/UINT2
  • No FP8 E4M3 (hf8) on Xe2. Intel's encoder lists it from Xe3 onward. E4M3 is the format most FP8 LLM checkpoints use, so those weights need software conversion on these cards. There is also no FP4 (e2m1, Xe3P only).
  • srnd (stochastic rounding F32→F16 and F16→BF8) is new in Xe2.
  • FP64 is native on Xe2-HPG, unlike Alchemist where it was emulated. Intel does not publish the FP64 rate. Treat it as a consumer-class rate, far below FP32, and not an HPC FP64 part.

8. API-level exposure

API How the ISA features surface
SYCL / oneAPI (DPC++) sycl::ext::oneapi::experimental::matrix::joint_matrix (→ DPAS); ESIMD xmx::dpas (incl. INT4/INT2); reqd_sub_group_size(16|32); Level Zero runtime
OpenCL 3.0 cl_intel_subgroup_matrix_multiply_accumulate (DPAS), cl_intel_subgroup_2d_block_io, cl_intel_subgroups (+ _char, _short, _long), cl_intel_required_subgroup_size, cl_khr_fp64, cl_khr_fp16, cl_khr_integer_dot_product
SPIR-V SPV_INTEL_subgroup_matrix_multiply_accumulate, SPV_INTEL_2d_block_io, SPV_INTEL_subgroups, SPV_KHR_cooperative_matrix
Vulkan 1.3 (Windows driver; Mesa ANV on Linux) VK_KHR_cooperative_matrix (→ DPAS, where the driver exposes it), VK_EXT_subgroup_size_control (16/32), VK_KHR_shader_integer_dot_product, VK_KHR_shader_float16_int8, ray tracing (VK_KHR_ray_tracing_pipeline, VK_KHR_ray_query)
DirectX 12 Ultimate SM 6.x wave intrinsics (wave size 16/32), DXR 1.1, mesh shaders, VRS, sampler feedback
OpenGL 4.6

Check exact extension lists on a given driver with clinfo, vulkaninfo, or sycl-ls --verbose.


9. Inspecting generated Xe2 assembly

# IGC (OpenCL / SYCL / Level Zero): dump vISA + native asm to /tmp/IntelIGC (Linux)
IGC_ShaderDumpEnable=1 ./app
# Mesa ANV / Iris (Vulkan / GL): print compute shader assembly
INTEL_DEBUG=cs vulkan_app
# Disassemble an AOT binary
ocloc disasm -file kernel_bmg.bin -device 20.1.4
# IGA command-line assembler/disassembler (built from the IGC repo): disassemble raw Xe2 kernel bits
iga64 -p=xe2 -d kernel.krn