experiments/igpu-spike is a standalone program (own workspace, wgpu 26, WGSL generated as text) that multiplies int8 matrices with the packed dot-product built-in on the reference laptop's Intel iGPU. The instruction ceiling is 2.74 TOPS; a naive kernel reached 0.2-0.3 TOPS because private arrays were spilled, and with named scalars the 8x8-per-thread kernel reaches 0.8-1.3 TOPS on prefill-like shapes (0.5-0.64 at 32 tokens), against about 0.25 TOPS for the CPU's decoder. Only the integer product is measured; the README lists what is not shown (MXFP4 decoding, block scales, attention, weight upload, memory strategy) and the decision needed from the owner. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
18 lines
333 B
TOML
18 lines
333 B
TOML
[package]
|
|
name = "igpu-spike"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
publish = false
|
|
description = "EXPERIMENT (STRA-207): int8 matrix-multiply throughput of the integrated GPU through wgpu. Not part of the workspace; delete when the spike is decided."
|
|
|
|
[workspace]
|
|
|
|
[dependencies]
|
|
wgpu = "26"
|
|
pollster = "0.4"
|
|
bytemuck = "1"
|
|
|
|
|
|
|
|
|