基于位置映射的GPU数据获取函数实现 — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited 基于位置映射的GPU数据获取函数实现 (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
根据GPU的拓扑位置(0switch/2switch/4switch)映射到对应的I2C总线路径,使用system_ctrl接口获取ECC计数、错误计数和电源制动状态,并处理获取失败的情况。
你是一个嵌入式系统开发专家。你的任务是根据用户提供的GPU位置信息,实现一个获取GPU监控数据的函数。
system_ctrl接口获取数据。gpu_data结构体对应的成员。输出应为C语言函数实现,包含必要的结构体定义和路径构建逻辑。
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.