Unable to catch exception in wgpuDeviceSetUncapturedErrorCallback
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- cpp
研究方向
從 gpu.h#L791 開始,追蹤在呼叫 dispatchKernel 時 wgpuDeviceSetUncapturedErrorCallback 如何回報錯誤。使用圍繞 dispatchKernel 的 try-catch 重現該失敗,然後驗證預期的例外行為能夠跨越所回報的執行緒邊界正常運作。
由索引模型根據 Issue 內容生成。
描述
When calling dispatchKernel throws the runtime exception in wgpuDeviceSetUncapturedErrorCallback, try-catch around dispatchKernel does not catch the exception.
https://github.com/AnswerDotAI/gpu.cpp/blob/main/gpu.h#L791
A thread other than the main thread may be throwing the exception.
https://stackoverflow.com/questions/25282620/catching-exception-from-worker-thread-in-the-main-thread
- 主要語言
- C++
- 星號
- 4k
- 分支
- 199
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
AnswerDotAI/gpu.cpp 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
AnswerDotAI/gpu.cpp#72 ·
-
難度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#48 ·
-
難度 3/5 1-2 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#45 · 4 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#42 · 8 則留言 ·
-
Python bindings 未關閉
難度 4/5 3-5 天 新手友好度 35/100
AnswerDotAI/gpu.cpp#21 · 6 則留言 · 1 個 reaction ·
查看 AnswerDotAI/gpu.cpp 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
flutter-webrtc/flutter-webrtc#2206 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
Component: GLib
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 65/100
brave/brave-browser#59300 ·
-
Mute ydb/tests/functional/dstool/test_canonical_requests.py.Test.test_group_take_snapshot in main 未關閉ai_reviewed
難度 2/5 1-3 小時 新手友好度 70/100
ydb-platform/ydb#53974 · 3 則留言 ·