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

Function backend_graph_validation_enabled

src/framework/core/backend.cpp:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 if (found++ == static_cast<size_t>(device_index)) {
75 return dev;
76 }
77 }
78 return nullptr;
79}
80
81
82#ifndef NDEBUG
83bool backend_graph_validation_enabled() {
84 static const bool enabled = [] {
85 const char * value = std::getenv("ENGINE_VALIDATE_BACKEND_GRAPH");

Callers 1

compute_backend_graphFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected