AnswerDotAI / AnswerDotAI/gpu.cpp
Unable to catch exception in wgpuDeviceSetUncapturedErrorCallback
Đang mở
- Ngôn ngữ chính
- C++
- Star
- 4k
- Fork
- 199
- Merge trung bình
- 2 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.