Skip to content

feat: add Intel Arc and Arc Pro GPU support #73

@inureyes

Description

@inureyes

Description

Add support for Intel Arc and Arc Pro GPUs to the all-smi library. Intel Arc is Intel's discrete GPU lineup based on the Xe HPG (High Performance Gaming) architecture, featuring XMX (Xe Matrix Extensions) engines for AI/ML acceleration.

GPU Series Overview

Intel Arc (Consumer)

  • Arc A770, A750, A580, A380, A310
  • Targeted at gaming and content creation
  • Features ray tracing and XeSS (Xe Super Sampling) AI upscaling

Intel Arc Pro (Professional/Workstation)

  • Arc Pro A60, A50, A40, A30M
  • Optimized for professional workflows
  • Certified drivers for professional applications

Key Implementation Requirements

Core Features

  • Detection: Implement detection capabilities for both Intel Arc and Arc Pro GPUs
  • Driver Version: Extract and expose Intel Graphics Driver version information
  • Monitoring: Implement real-time monitoring capabilities for:
    • GPU utilization (render, compute, media engines)
    • Memory usage (dedicated VRAM and shared memory)
    • Temperature monitoring
    • Power consumption
    • XMX engine utilization for AI workloads

Implementation Guidelines

Mock Server Support

  • Add mock endpoints for Intel Arc GPU metrics in the mock server
  • Include realistic sample data for testing and development
  • Follow the existing mock server patterns for AMD and NVIDIA implementations

API Endpoints

  • Extend the existing API to include Intel Arc GPU specific endpoints
  • Ensure consistent response format with other GPU types
  • Include all relevant metrics in the API responses

Technical Considerations

Primary Tools

  • xpu-smi: Intel's XPU System Management Interface tool (preferred)
  • intel_gpu_top: Real-time GPU monitoring utility (Linux fallback)

Driver Stack

  • Linux: i915 or xe driver with Level Zero runtime
  • Windows: Intel Graphics Driver with Level Zero runtime

Key Differences from Intel Gaudi

Aspect Intel Arc Intel Gaudi
Purpose General-purpose GPU (graphics + compute + AI) Dedicated AI accelerator
Tool xpu-smi, intel_gpu_top hl-smi
Driver i915/xe habanalabs
API Level Zero, oneAPI Habana SynapseAI

Cross-Platform Support

  • Level Zero API provides unified access across platforms
  • Consider oneAPI toolkit integration for advanced features

Testing Requirements

  • Unit tests for all new Intel Arc detection and monitoring functions
  • Integration tests with the mock server
  • Test coverage for both Arc (consumer) and Arc Pro (professional) variants
  • Documentation updates for the new Intel Arc support

References

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions