Skip to content

DirectML

A hardware abstract machine learning API on Windows

Visit official site

What DirectML is

The API is described as a Windows machine learning platform that exposes accelerators through one common abstraction layer.

What you can do with it

  • Run ONNX models faster on Windows
  • Add ML image processing to a game
  • Build speech recognition into an app

Application scenarios

  • Machine learning applications on Windows
  • Game titles with integrated models
  • Voice assistant features in software

Pros & cons

✓ What we like

  • A common layer reduces the cost of ML code
  • AI features become easier to integrate

! What to watch out for

  • Use is tied to DirectX 12 compatible devices
  • The named scope is Windows

FAQ

Which devices are supported?

Any DirectX 12 compatible device, including GPUs and NPUs.

What does it provide?

A common abstraction layer for machine learning accelerators.

Last reviewed: 2026-11-15

More AI coding tools tools

View all →

How we review