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

Method valid

src/core/include/megbrain/comp_node.h:384–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382 bool operator!=(const CompNode& rhs) const { return !this->operator==(rhs); }
383
384 bool valid() const { return m_impl; }
385
386 //! get total and free memory on the computing device in bytes
387 std::pair<size_t, size_t> get_mem_status_bytes() const {

Callers 15

TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
syncFunction · 0.45
dtype.cppFile · 0.45
make_from_offset_elemMethod · 0.45

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36