zesDriverEventListen[Ex] timeout return code

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cpp
領域
api

調査の方向性

Issue にリンクされている zesDriverEventListen[Ex] 仕様のセクションから始め、現在の timeout と戻りコードに関する記述を確認してください。明示的な timeout 結果と、要求された時間が経過する前の動作が意図されているかを判断し、合意された API セマンティクスを文書化してください。仕様が曖昧でなくなり、変更について maintainer の合意が得られた時点で完了です。

索引モデルが issue の本文から書いたものです。

説明

I suggest adding an explicit timeout return code for zesDriverEventListen[Ex] calls. Right now, the user has to infer a timeout occurred when ze_result_t == ZE_SUCCESS and pNumDeviceEvents = 0. The specification isn't 100% clear that a timeout will result in the pNumDeviceEvents being cleared. An explicit error code leaves no doubt. The spec is also ambitious in stating that the timeout will only occur once the time expires. It seems like an -EINTR or similar type error could cause a timeout to occur before the time expires. Perhaps the spec should allow for a timeout to occur before the time expires?

https://spec.oneapi.com/level-zero/latest/sysman/api.html#zesdrivereventlistenex

主要言語
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 を短くまとめたダイジェスト。