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

Function is_vulkan_backend_handle

src/framework/core/backend.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39};
40
41bool reg_name_matches(BackendType type, const char * reg_name) {
42 if (reg_name == nullptr) {
43 return false;
44 }
45 for (const BackendRegNames & entry : k_backend_reg_names) {
46 if (entry.type != type) {
47 continue;
48 }
49 for (const char * name : entry.names) {
50 if (name != nullptr && std::strcmp(reg_name, name) == 0) {
51 return true;
52 }
53 }
54 return false;
55 }

Callers 2

backend_typeFunction · 0.85
query_backend_memoryFunction · 0.85

Calls 3

ggml_backend_get_deviceFunction · 0.85
ggml_backend_vk_regFunction · 0.85

Tested by

no test coverage detected