AnswerDotAI / AnswerDotAI/gpu.cpp
Unable to catch exception in wgpuDeviceSetUncapturedErrorCallback
Aperta
- Lingua principale
- C++
- Stelle
- 4k
- Fork
- 199
- Merge medio
- 2m
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.