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

Class DeviceData

examples/webgpu_from_scratch/run.cpp:146–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144 spdlog::info("Requesting device");
145 {
146 struct DeviceData {
147 WGPUDevice device = nullptr;
148 bool requestEnded = false;
149 };
150 DeviceData devData;
151 auto onDeviceRequestEnded = [](WGPURequestDeviceStatus status,
152 WGPUDevice device, char const *message,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected