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

Class AdapterData

examples/webgpu_from_scratch/run.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 spdlog::info("Requesting adapter");
123 {
124 struct AdapterData {
125 WGPUAdapter adapter = nullptr;
126 bool requestEnded = false;
127 };
128 AdapterData adapterData;
129 auto onAdapterRequestEnded = [](WGPURequestAdapterStatus status,
130 WGPUAdapter adapter, char const *message,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected