Fix the "Initialization" in the Sysman Programming Guide

未关闭
#152 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
45/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
cpp
领域
documentation

调研方向

先阅读 spec.oneapi.io/level-zero/latest/sysman/PROG.html 中 Sysman Programming Guide 的 Initialization 部分,然后阅读 compute-runtime issue 686 了解兼容性细节。更新引用的陈述,使其与有文档记录的 ZesInit() 行为一致,并验证渲染后的 guide 不再声称在该情况下 cast 有效。

由索引模型根据 Issue 内容生成。

描述

From https://spec.oneapi.io/level-zero/latest/sysman/PROG.html
"For compatibility, an application may also use the Level0 Core API to enumerate through available accelerator devices in the system. For each device handle, an application can cast it to a sysman device handle to manage the system resources of the device."
This cast is invalid when using ZesInit() as discussed in https://github.com/intel/compute-runtime/issues/686, it's only valid when using zeInit() + the env var to enable Sysman. I asked for the fix there last year but the issue was closed without the spec fix.

主要语言
C++
星标
335
派生
140
平均合并
12 小时 32 分钟
30 天内合并 PR
5

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oneapi-src/level-zero 的其他 Issue

查看 oneapi-src/level-zero 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。