MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / SetUp

Method SetUp

src/plugin/test/infkern_finder.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 }
38
39 void SetUp() override {
40 host_x = gen({1});
41 graph = ComputingGraph::make();
42 finder = std::make_unique<InfkernFinder>(graph.get(), true);
43 should_sleep = false;
44 entered = false;
45 x = opr::Host2DeviceCopy::make(*graph, host_x).rename("x");
46 }
47
48 void run(SymbolVar y, int tid) {
49 y.rename("y");

Callers

nothing calls this directly

Calls 4

renameMethod · 0.80
genFunction · 0.50
makeFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected