cuda-doctor logo

Auto-configuration contract

Implementedv0.0.0

include/core/configure.hpp

This header exposes one job: write `.cuda-doctor.env` when a usable toolkit root can be found and the platform allows it.

Reference

Public surfacecpp
struct AutoConfigureResult {
  Probe probe;
  std::filesystem::path env_file;
  bool changed;
};

AutoConfigureResult apply_cuda_env(const std::string& os, const std::filesystem::path& cwd);