MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / processEvents

Function processEvents

gpu.hpp:504–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502};
503
504inline void processEvents(const WGPUInstance &instance) {
505#ifdef __EMSCRIPTEN__
506 emscripten_sleep(0);
507#else
508 wgpuInstanceProcessEvents(instance);
509#endif
510}
511
512/**
513 * @brief Represents a GPU context, aggregates WebGPU API handles to interact

Callers 5

~ContextMethod · 0.85
createContextFunction · 0.85
createContextByGpuIdxFunction · 0.85
waitFunction · 0.85
createKernelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected