MCPcopy Create free account
hub / github.com/MegEngine/MegCC / RandomState

Method RandomState

compiler/test/kernel/common/rng.h:119–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118private:
119 RandomState() : m_generator(m_seed) {}
120 std::mt19937_64 m_generator;
121 const static int m_seed = 0;
122 static RandomState* instance() { return &m_instance; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected