Fix the "Initialization" in the Sysman Programming Guide

オープン
#152 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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() の動作に一致するよう更新し、レンダリングされたガイドがその場合に 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分
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oneapi-src/level-zero のほかの issue

oneapi-src/level-zero の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。