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

Method get_mem_addr_alignment

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

get alignment requiement in bytes; guaranteed to be power of 2

Source from the content-addressed store, hash-verified

283
284 //! get alignment requiement in bytes; guaranteed to be power of 2
285 size_t get_mem_addr_alignment() const { return m_impl->get_mem_addr_alignment(); }
286
287 /*!
288 * \brief get the size of the paddings which must be reserved at the

Callers 12

defragMethod · 0.45
alloc_staticMethod · 0.45
read_into_tensorMethod · 0.45
applyMethod · 0.45
test_param_pack_concatFunction · 0.45
test_param_pack_splitFunction · 0.45
init_shapesMethod · 0.45
performMethod · 0.45
initMethod · 0.45
prof_implMethod · 0.45

Calls

no outgoing calls

Tested by 2

test_param_pack_concatFunction · 0.36
test_param_pack_splitFunction · 0.36