| name | abi-superpower-gpu |
| description | GPU and Metal backend superpower. Reports backend status, vector ops, hardware capabilities. |
| superpower | {"command":"execute","parameters":[{"name":"action","type":"string","enum":["status","ops","hardware"],"description":"GPU action"},{"name":"backend","type":"string","description":"GPU backend: metal, cuda, vulkan"}]} |
ABI Superpower: GPU
Exposes GPU hardware and acceleration capabilities as a superpower.
Actions
status
Report GPU backend selection and fallback state:
/abi-superpower-gpu status
ops
Vector operations via GPU/Metal acceleration:
/abi-superpower-gpu ops --input "vector data" --accumulate true
hardware
System hardware report:
/abi-superpower-gpu hardware
Implementation
Maps to:
src/features/gpu/reporting.zig - Metal/CUDA/Vulkan detection
src/features/gpu/vector_ops.zig - HNSW search acceleration
src/features/gpu/compute_api.zig - SIMD/Metal kernels
Feature Gate
Requires feat-gpu=true and native Metal/CUDA/Vulkan bindings.
When accelerated=false (CPU fallback), still reports metrics for transparency.