MCPcopy Create free account
hub / github.com/alibaba/MNN / dispatch

Function dispatch

test/TestUtils.cpp:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#endif
31
32void dispatch(std::function<void(MNNForwardType)> payload) {
33 for (int i = 0; i < MNN_FORWARD_ALL; i++) {
34 MNNForwardType type = (MNNForwardType)i;
35 if (MNNGetExtraRuntimeCreator(type))
36 dispatch(payload, type);
37 }
38}
39
40void dispatch(std::function<void(MNNForwardType)> payload, MNNForwardType backend) {
41 switch (backend) {

Callers 2

runMethod · 0.85
runMethod · 0.85

Calls 1

Tested by

no test coverage detected