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

Method SetUp

src/core/test/static_mem_alloc.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73public:
74 void SetUp() override {
75 m_allocator = StaticMemAlloc::make(GetParam().algo);
76 m_allocator->alignment(GetParam().align);
77 m_allocator->padding(GetParam().padding);
78 }
79};
80
81class RandomOpr : public BasicCorrectness {};

Callers

nothing calls this directly

Calls 3

paddingMethod · 0.80
makeFunction · 0.70
alignmentMethod · 0.45

Tested by

no test coverage detected