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

Class CopyData

gpu.hpp:443–448  ·  view source on GitHub ↗

* @brief Staging buffer and callback data for copying data between the GPU and * CPU. */

Source from the content-addressed store, hash-verified

441 * CPU.
442 */
443struct CopyData {
444 WGPUCommandBuffer commandBuffer;
445 WGPUBuffer readbackBuffer;
446 std::promise<void> promise;
447 std::future<void> future;
448};
449
450/**
451 * @brief Represents handles + metadata for a reusable kernel on the GPU.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected