AnswerDotAI / AnswerDotAI/gpu.cpp
Unable to catch exception in wgpuDeviceSetUncapturedErrorCallback
未关闭
- 主要语言
- C++
- 星标
- 4k
- 派生
- 199
- 平均合并
- 2 分钟
- 30 天内合并 PR
- 3
描述
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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。