cuda-doctor logo

Host platform probe contract

Implementedv0.0.0

include/core/platform.hpp

This header wraps platform detection into a structured result: OS, architecture, an unsupported flag, and a probe record that fits into the shared report model.

Reference

Public surfacecpp
struct PlatformInfo {
  std::string os;
  std::string arch;
  bool unsupported;
  Probe probe;
};

PlatformInfo detect();

Why it exists

Separating platform detection from the command layer keeps `check` free from platform `#if` clutter and makes unsupported-host handling explicit.