MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / backend_name

Function backend_name

app/server/runtime.cpp:57–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56 pos = amp + 1;
57 }
58 return {};
59}
60
61const char * backend_name(engine::core::BackendType type) {
62 switch (type) {
63 case engine::core::BackendType::Cpu:
64 return "cpu";
65 case engine::core::BackendType::Cuda:
66 return "cuda";
67 case engine::core::BackendType::Vulkan:
68 return "vulkan";
69 case engine::core::BackendType::Metal:
70 return "metal";
71 case engine::core::BackendType::BestAvailable:
72 return "best";
73 }
74 return "unknown";

Callers 2

ServerStateMethod · 0.85
handleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected