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

Function planner_prefill_uses_host_backend

src/models/ace_step/planner.cpp:152–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152bool planner_prefill_uses_host_backend(core::BackendType backend_type) {
153 switch (backend_type) {
154 case core::BackendType::Vulkan:
155 // Vulkan keeps the validated host-prefill path for now; it can try the Metal
156 // decode-graph prompt prefill path below once parity and performance are checked.
157 return true;
158 case core::BackendType::Metal:
159 case core::BackendType::Cpu:
160 case core::BackendType::Cuda:
161 case core::BackendType::Hip:
162 case core::BackendType::BestAvailable:
163 return false;
164 }
165 return false;
166}
167
168core::TensorValue reshape_planner_heads(

Callers 1

AceStepPlannerRuntimeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected