cuda-doctor logo

Baseline environment check

Implementedv0.0.0

src/commands/check.cpp

The `check` command is intentionally small. It detects the platform first, then collects driver, CUDA, and GPU probes, and finally collapses those probe statuses into a single `overall` status.

Behavior

  • Runs the probes in a fixed order: platform, driver, CUDA, GPU.
  • Marks the whole report unsupported immediately if any probe returns `unsupported`.
  • Otherwise prefers `issue` over `missing`, and `missing` over `ok` when collapsing the final status.

Why it matters

`run_check()` is the foundation under `doctor`. That keeps `doctor` free to focus on repair logic and next-step generation instead of reimplementing base probe collection.