| 494 | Context *ctx; |
| 495 | std::set<Kernel *> data; |
| 496 | inline ~KernelPool() { |
| 497 | // Note : Some kernel resources such as commandBuffer are harvested by |
| 498 | // queue submission, explicitly destroying readback and callback buffers |
| 499 | // produces runtime errors. |
| 500 | data.clear(); |
| 501 | } |
| 502 | }; |
| 503 | |
| 504 | inline void processEvents(const WGPUInstance &instance) { |
nothing calls this directly
no outgoing calls
no test coverage detected