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

Class CallbackData

examples/webgpu_from_scratch/run.cpp:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353 // promise to be set.
354 spdlog::info("Submit the command buffer and launching the kernel");
355 struct CallbackData {
356 WGPUBuffer buffer;
357 size_t bufferSize;
358 float *output;
359 std::promise<void> *promise;
360 };
361 {
362
363 // Submit the command buffer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected