How to detect iGPU free memory
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- cpp
調査の方向性
報告されているエントリポイント zesDeviceEnumMemoryModules と zesMemoryGetState から始め、iGPU 上での動作を sycl_ext_intel_device_info.md の SYCL free_memory 例と比較してください。ZES_ENABLE_SYSMAN=1 を設定して pCount がゼロになる結果と空きメモリの結果を再現し、その後、既存の API が統合グラフィックスメモリをサポートしているかどうかを判断してから、確認された動作を文書化するか対処してください。
索引モデルが issue の本文から書いたものです。
説明
Hi, I'd like to ask how to use level-zero/sycl to detect available memory of Intel iGPUs (e.g., Intel® Iris® Xe Graphics, PCI ID: 46A0, codename: Alder Lake-P).
I found relevant APIs in level-zero, such as zesDeviceEnumMemoryModules and zesMemoryGetState. Unfortunately, when I call zesDeviceEnumMemoryModules on a system with only iGPU, the return value of pCount is 0. Therefore, I cannot get the iGPU memory information through zesMemoryGetState.
i also found how to use sycl to detect free memory in this doc, here is the code
if (dev.has(aspect::ext_intel_free_memory)) {
auto FreeMemory = dev.get_info<ext::intel::info::device::free_memory>();
}
I ran this func with set ZES_ENABLE_SYSMAN=1, but I got the free_mem size is 0.
note that these issues don't appear on Intel dGPUs.
Windows Task Manager can directly show the total and used memory of iGPU. How to implement this function? Are there any code examples?
- 主要言語
- C++
- スター
- 335
- フォーク
- 140
- 平均マージ
- 12時間 32分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oneapi-src/level-zero のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
oneapi-src/level-zero#495 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oneapi-src/level-zero#485 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
oneapi-src/level-zero#447 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
oneapi-src/level-zero#482 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
oneapi-src/level-zero#419 ·
oneapi-src/level-zero の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
games-on-whales/wolf#509 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
bug-unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100